Returning InternalServerError in recover()