Skip to content

Commit 8e99a00

Browse files
authoredFeb 22, 2024
Update README.md (#2417)
"uncaughtException" but "Rejection" is "unhandled". So, "unhandledRejection" is more correct
1 parent 0bde36b commit 8e99a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ logger.exitOnError = ignoreEpipe;
910910

911911
### Handling Uncaught Promise Rejections with winston
912912

913-
With `winston`, it is possible to catch and log `uncaughtRejection` events
913+
With `winston`, it is possible to catch and log `unhandledRejection` events
914914
from your process. With your own logger instance you can enable this behavior
915915
when it's created or later on in your applications lifecycle:
916916

0 commit comments

Comments
 (0)
Please sign in to comment.