Skip to content

Removed error_format, will match the request content-type matched format.#285

Merged
dblock merged 1 commit intoruby-grape:masterfrom
dblock:rip-error-format
Dec 3, 2012
Merged

Removed error_format, will match the request content-type matched format.#285
dblock merged 1 commit intoruby-grape:masterfrom
dblock:rip-error-format

Conversation

@dblock
Copy link
Copy Markdown
Member

@dblock dblock commented Dec 2, 2012

See the discussion in #282.

This removes error_format. It's confusing to expect JSON as a response, but get an error in txt format. With this change that is no longer possible, and the error format is matched the same way as the response format.

dblock added a commit that referenced this pull request Dec 3, 2012
Removed error_format, will match the request content-type matched format.
@dblock dblock merged commit f2f7ab0 into ruby-grape:master Dec 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant