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

Testing 500 response #59

Open
jema28 opened this issue Sep 16, 2018 · 0 comments
Open

Testing 500 response #59

jema28 opened this issue Sep 16, 2018 · 0 comments

Comments

@jema28
Copy link

jema28 commented Sep 16, 2018

500 error responses usually occur when a server fails to do something ie. when one of your functions in a controller (or other parts of the app) error so it would better to do a 500 test in those functions instead of here https://github.com/fac-14/Vent-Bot/blob/master/src/controllers/router.js#L24-L33. Let me know if that makes sense!

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

No branches or pull requests

2 participants