Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Sending error stack on 500 server error #159

Closed
eshaham opened this issue Aug 27, 2014 · 1 comment
Closed

Sending error stack on 500 server error #159

eshaham opened this issue Aug 27, 2014 · 1 comment

Comments

@eshaham
Copy link
Contributor

eshaham commented Aug 27, 2014

Isn't it a bad practice security wise to send the error stack trace back to the client in case of uncaught exception?

This is currently what we have on express.js config file:

res.status(500).render('500', {
    error: err.stack
});
@amoshaviv
Copy link
Contributor

fixed in the new version

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

No branches or pull requests

2 participants