From 8322997bce0b0f3310fdbfff0d5b05fc619162b9 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Mon, 13 Aug 2018 07:18:48 -0400 Subject: [PATCH] Remove unhandled exception handler --- server.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server.js b/server.js index 90b0002..e272567 100755 --- a/server.js +++ b/server.js @@ -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;