Return callback() after emitting an error