3
0
Fork 0
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:
Dragory 2020-12-18 05:07:55 +02:00
parent 8451998b59
commit 779212233c

View file

@ -107,6 +107,7 @@ if (process.env.NODE_ENV === "production") {
};
process.on("uncaughtException", errorHandler);
process.on("unhandledRejection", errorHandler);
}
// Verify required Node.js version