forked from embee/woomy
Merge branch 'master' of https://github.com/mudkipscience/woomy
This commit is contained in:
commit
83990e47f1
1 changed files with 0 additions and 1 deletions
|
@ -197,7 +197,6 @@ module.exports = client => {
|
||||||
process.on("uncaughtException", err => {
|
process.on("uncaughtException", err => {
|
||||||
const errorMsg = err.stack.replace(new RegExp(`${__dirname}/`, "g"), "./");
|
const errorMsg = err.stack.replace(new RegExp(`${__dirname}/`, "g"), "./");
|
||||||
client.logger.error(`Uncaught Exception: ${errorMsg}`);
|
client.logger.error(`Uncaught Exception: ${errorMsg}`);
|
||||||
process.exit(1);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
process.on("unhandledRejection", err => {
|
process.on("unhandledRejection", err => {
|
||||||
|
|
Loading…
Reference in a new issue