Przeglądaj źródła

Remove redundant stack trace from error handler

production
Jack Foltz 5 lat temu
rodzic
commit
3c92ef4640
Podpisane przez: foltik <jack@foltz.io> ID klucza GPG: D1F0331758D1F29A
1 zmienionych plików z 0 dodań i 1 usunięć
  1. +0
    -1
      server.js

+ 0
- 1
server.js Wyświetl plik

@@ -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.'});
});



Ładowanie…
Anuluj
Zapisz