Return the errors instead of logging them.