From 1e76c04c55e5ee2095c813029eabfa671fdd4ce0 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 22 Feb 2017 09:48:00 +0100 Subject: [PATCH] Remove uncaught exception logging This is the responsibility of the app --- lib/server-impl.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/server-impl.js b/lib/server-impl.js index 2eaa09ebb5..500c5b8f1e 100644 --- a/lib/server-impl.js +++ b/lib/server-impl.js @@ -44,11 +44,6 @@ function start (opts) { .catch(err => logger.error('failed creating app', err)); } -process.on('uncaughtException', err => { - logger.error('Uncaught Exception:', err.message); - logger.error(err.stack); -}); - module.exports = { start, };