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

non-default formats cause 500 errors #1317

Open
peff opened this issue Feb 25, 2019 · 0 comments
Open

non-default formats cause 500 errors #1317

peff opened this issue Feb 25, 2019 · 0 comments

Comments

@peff
Copy link
Member

peff commented Feb 25, 2019

I noticed in the heroku logs that we generated an HTTP 500 for a request to /blog.rss. It's understandable, in that there is no RSS feed there any more. But probably we ought to be showing a 404 instead.

That one was presumably requested because it used to do something, but of course this extends to .json, etc. Is there a good way that we should be telling Rails that we don't have those other formats, and it should just generate a 404?

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

No branches or pull requests

1 participant