File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,8 @@ changes:
237
237
* ` origin ` {string} Indicates if the exception originates from an unhandled
238
238
rejection or from an synchronous error. Can either be ` 'uncaughtException' ` or
239
239
` 'unhandledRejection' ` . The latter is only used in conjunction with the
240
- [ ` --unhandled-rejections ` ] [ ] flag set to ` strict ` and an unhandled rejection.
240
+ [ ` --unhandled-rejections ` ] [ ] flag set to ` strict ` or ` throw ` and
241
+ an unhandled rejection.
241
242
242
243
The ` 'uncaughtException' ` event is emitted when an uncaught JavaScript
243
244
exception bubbles all the way back to the event loop. By default, Node.js
@@ -308,7 +309,9 @@ added:
308
309
* ` err ` {Error} The uncaught exception.
309
310
* ` origin ` {string} Indicates if the exception originates from an unhandled
310
311
rejection or from synchronous errors. Can either be ` 'uncaughtException' ` or
311
- ` 'unhandledRejection' ` .
312
+ ` 'unhandledRejection' ` . The latter is only used in conjunction with the
313
+ [ ` --unhandled-rejections ` ] [ ] flag set to ` strict ` or ` throw ` and
314
+ an unhandled rejection.
312
315
313
316
The ` 'uncaughtExceptionMonitor' ` event is emitted before an
314
317
` 'uncaughtException' ` event is emitted or a hook installed via
You can’t perform that action at this time.
0 commit comments