diff options
-rw-r--r-- | app.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -387,4 +387,7 @@ if (config.usessl) { server.listen(config.port, function () { logger.info('HTTP Server listening at port %d', config.port); }); -}
\ No newline at end of file +} +process.on('uncaughtException', function (err) { + logger.error(err); +});
\ No newline at end of file |