mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
Pass unhandled rejections to main error handler
This commit is contained in:
parent
b95f83985e
commit
5a1926439b
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ if (process.env.NODE_ENV === "production") {
|
||||||
};
|
};
|
||||||
|
|
||||||
process.on("uncaughtException", errorHandler);
|
process.on("uncaughtException", errorHandler);
|
||||||
|
process.on("unhandledRejection", errorHandler);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify required Node.js version
|
// Verify required Node.js version
|
||||||
|
|
Loading…
Add table
Reference in a new issue