Skip to content

Commit

Permalink
fixup: address targos comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BridgeAR committed Sep 5, 2018
1 parent 2dfe16a commit 637824f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ added: v0.1.18
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/20097
description: Garbage collected unhandled rejections will now also trigger an
uncaughtException. The `errorOrigin` argument was added to
distinguish those.
description: Added the `errorOrigin` argument.
-->

* `err` {Error} The uncaught exception.
Expand Down Expand Up @@ -271,10 +269,6 @@ address such failures, a non-operational
`resource.loaded`, which would prevent the `'unhandledRejection'` event from
being emitted.

In case a rejected promise is garbage collected without ever having a
[`.catch(() => { })`][`promise.catch()`] handler attached, it will trigger an
`uncaughtException` like all other uncaught JavaScript exceptions.

### Event: 'warning'
<!-- YAML
added: v6.0.0
Expand Down

0 comments on commit 637824f

Please sign in to comment.