diff --git a/index.js b/index.js index 87f99a6..2f432b6 100644 --- a/index.js +++ b/index.js @@ -53,3 +53,7 @@ io.on('connection', (socket) => { socket.on('reset', resetVM) }) + +process.on('uncaughtException', (e) => { + console.log(`Caught an uncaught exception!\n${e.stack}`) +})