Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup: address targos comments
  • Loading branch information
BridgeAR committed Sep 5, 2018
commit 637824fd8641b05c0ba3a211ac9c4b2049ab6967
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