We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b1029f commit 905beffCopy full SHA for 905beff
src/index.ts
@@ -39,5 +39,5 @@ process.on('uncaughtException', (error) => {
39
40
process.on('unhandledRejection', (reason, promise) => {
41
logger.error('Unhandled Rejection at:', promise, 'reason:', reason);
42
- gracefulShutdown('UNCAUGHT_EXCEPTION');
+ gracefulShutdown('UNHANDLED_REJECTION');
43
});
0 commit comments