Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return 500 instead of resource status #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joanniclaborde
Copy link
Contributor

When a resource returns an error code, other than 404, the page should be rendered with a 500 code instead of the resource's code. It doesn't really make sense to tell the client he's unauthorized to access a page that uses an unauthorized resource.

@joanniclaborde joanniclaborde changed the title Return 500 instead of status error Return 500 instead of resource status Oct 27, 2016
@pushred
Copy link
Member

pushred commented Nov 10, 2017

👍 this hasn't run into any trouble in production right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants