respond_to can take on_error to wrap result in capture_errors