forked from embee/woomy
Do not exit on uncaughtException
I think I forgot this here while testing something
This commit is contained in:
parent
18db7e597d
commit
6d1d4a0441
1 changed files with 0 additions and 1 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue