Skip to content

Commit 905beff

Browse files
committed
modify: unhandledRejection 의 gracefulShutdown 메시지 수정
1 parent 9b1029f commit 905beff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ process.on('uncaughtException', (error) => {
3939

4040
process.on('unhandledRejection', (reason, promise) => {
4141
logger.error('Unhandled Rejection at:', promise, 'reason:', reason);
42-
gracefulShutdown('UNCAUGHT_EXCEPTION');
42+
gracefulShutdown('UNHANDLED_REJECTION');
4343
});

0 commit comments

Comments
 (0)