Skip to content

Commit

Permalink
fixup! code review from matteo
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamingr committed Feb 8, 2021
1 parent 95e66c5 commit 4acb549
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1258,10 +1258,10 @@ The `EventTarget` does not implement any special default handling for `'error'`
type events like `EventEmitter` does in order to be spec compliant.

Currently errors are first forwarded to the `process.on('error')` event
before reaching `process.on('uncaughtException')` - this behaviour will change
in the next major release to align `EventTarget` with other Node.js APIs. Any
code relying on the `process.on('error')` event should be aligned with the new
behaviour.
before reaching `process.on('uncaughtException')` - this behaviour is
deprecated and will change in a future release to align `EventTarget` with
other Node.js APIs. Any code relying on the `process.on('error')` event should
be aligned with the new behaviour.

### Class: `Event`
<!-- YAML
Expand Down

0 comments on commit 4acb549

Please sign in to comment.