Browse Source

Remove redundant stack trace from error handler

production
Jack Foltz 5 years ago
parent
commit
3c92ef4640
Signed by: foltik <jack@foltz.io> GPG Key ID: D1F0331758D1F29A
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      server.js

+ 0
- 1
server.js View File

@@ -78,7 +78,6 @@ require('./config/passport.js');
app.use((err, req, res, next) => {
console.error('Unhandled error!');
console.error(err);
console.error(err.stack);
res.status(500).json({'message': 'Internal server error.'});
});



Loading…
Cancel
Save