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

500 vs 404 error #81

Open
bobbysebolao opened this issue Aug 16, 2019 · 1 comment
Open

500 vs 404 error #81

bobbysebolao opened this issue Aug 16, 2019 · 1 comment
Assignees

Comments

@bobbysebolao
Copy link

500 indicates a server error. 404 indicates the resource isn't found, which is what you're describing on line 19 of handlers.js (inside your staticAssets function). If one of the requested files isn't found, it probably wouldn't be due to a server error, just an incorrect URL.

@crianonim crianonim self-assigned this Aug 16, 2019
@crianonim
Copy link
Contributor

crianonim commented Aug 16, 2019

You are right, I'll see if I can find a way to differentiate between the two situations! The reason we put 500 because it is internal I/O error, could be a file that doesn't exist (404) or actual I/O error (disk error, etc 500 code) . Thanks for pointing it out!

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

2 participants