Skip to content

Commit 1de90b3

Browse files
committed
Update README
1 parent f4970f7 commit 1de90b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The `exitOn` option specifies which event should trigger `process.exit(1)`:
6666
[official documentation](https://nodejs.org/api/process.html#process_warning_using_uncaughtexception_correctly).
6767
- we recommend using `['uncaughtException', 'unhandledRejection']`
6868
instead since this will be the [future default behavior of Node.js](https://nodejs.org/dist/latest-v8.x/docs/api/deprecations.html#deprecations_dep0018_unhandled_promise_rejections)
69-
- to prevent any `process.exit()`, use `[]`
69+
- to prevent any `process.exit(1)`, use `[]`
7070

7171
`process.exit(1)` will only be fired after successfully logging the event.
7272

0 commit comments

Comments
 (0)