with_error_handling was returning nil on success