From 6d1d4a04411ab4fd53ee70848e2492a968241e5c Mon Sep 17 00:00:00 2001 From: FLGX Date: Sat, 29 Aug 2020 20:58:35 +0200 Subject: [PATCH] Do not exit on uncaughtException I think I forgot this here while testing something --- src/modules/functions.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/functions.js b/src/modules/functions.js index 6a3a9b7..d76e9fb 100644 --- a/src/modules/functions.js +++ b/src/modules/functions.js @@ -197,7 +197,6 @@ module.exports = client => { process.on("uncaughtException", err => { const errorMsg = err.stack.replace(new RegExp(`${__dirname}/`, "g"), "./"); client.logger.error(`Uncaught Exception: ${errorMsg}`); - process.exit(1); }); process.on("unhandledRejection", err => {