mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 16:25:03 +00:00
Pass unhandled rejections to main error handler
This commit is contained in:
parent
8451998b59
commit
779212233c
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("unhandledRejection", errorHandler);
|
||||
}
|
||||
|
||||
// Verify required Node.js version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue