diff --git a/index.js b/index.js index 50569ee..df08653 100644 --- a/index.js +++ b/index.js @@ -52,10 +52,10 @@ if (!fs.existsSync(path.join(cachePath, "emojis"))) { app.use(pageUpdater.middleWare) -// process.on('uncaughtException', (err, origin) => { -// fs.writeSync( -// process.stderr.fd, -// `Caught exception: ${err}\n` + -// `Exception origin: ${origin}`, -// ); -// }); \ No newline at end of file +process.on('uncaughtException', (err, origin) => { + fs.writeSync( + process.stderr.fd, + `Caught exception: ${err}\n` + + `Exception origin: ${origin}`, + ); + }); \ No newline at end of file