Skip to content

Commit

Permalink
Merge pull request #19 from yorch/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
mrbar42 authored Mar 22, 2021
2 parents 3b7af41 + f214404 commit 2a77c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Graceful.captureExceptions = true;
throw new Error('DANG!'); // this will now trigger graceful shutdown
```

#### Graceful.captureExceptions = false {boolean}
#### Graceful.captureRejections = false {boolean}

Whether to treat `unhandledRejection` event as a terminating event and trigger graceful shutdown.
On newer `node` versions `unhandledRejection` is in-fact a terminating event
Expand Down

0 comments on commit 2a77c87

Please sign in to comment.