This commit is contained in:
Emily 2020-10-03 10:53:42 +10:00
commit 83990e47f1

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