diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -104,3 +104,7 @@ server.listen(config.port, () => ); process.on("SIGINT", process.exit); + +process.on('uncaughtException', function (exception) { + console.log(exception); +}); |
