From 53acf3a9e4a9c1cd474def653ab5500f02cf0e7c Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sat, 29 Jun 2024 18:23:21 -0500 Subject: [PATCH] OOPS --- index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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