mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-14 00:46:38 -05:00
Remove unhandled exception handler
This commit is contained in:
parent
f24ae8456b
commit
8322997bce
@ -11,11 +11,6 @@ const helmet = require('helmet');
|
||||
const app = express();
|
||||
const config = require('config');
|
||||
|
||||
process.on('uncaughtException', function (err) {
|
||||
console.log('FATAL UNCAUGHT EXCEPTION:');
|
||||
console.log(err.stack);
|
||||
});
|
||||
|
||||
// MongoDB
|
||||
const dbHost = config.get('Database.host');
|
||||
let db;
|
||||
|
Loading…
Reference in New Issue
Block a user