Add missing return after error