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

Error Handling #81

Open
Roger-Heathcote opened this issue May 29, 2020 · 0 comments
Open

Error Handling #81

Roger-Heathcote opened this issue May 29, 2020 · 0 comments

Comments

@Roger-Heathcote
Copy link

Your API errors are JSON (good!) but they currently leak too much information about your back end e.g. table names, file names and paths, stack traces etc. Although it's great for debugging it's also a security risk. It may be worth considering how you can use an error handling middleware to return less detailed information to the front end users while logging more detailed information on the back end.

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

1 participant