1
0
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:
Jack Foltz 2018-08-13 07:18:48 -04:00
parent f24ae8456b
commit 8322997bce
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -11,11 +11,6 @@ const helmet = require('helmet');
const app = express(); const app = express();
const config = require('config'); const config = require('config');
process.on('uncaughtException', function (err) {
console.log('FATAL UNCAUGHT EXCEPTION:');
console.log(err.stack);
});
// MongoDB // MongoDB
const dbHost = config.get('Database.host'); const dbHost = config.get('Database.host');
let db; let db;