Do not exit on uncaughtException

I think I forgot this here while testing something
This commit is contained in:
FLGX 2020-08-29 20:58:35 +02:00 committed by GitHub
parent 18db7e597d
commit 6d1d4a0441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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 => {