We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 636c7e0 commit df10eaeCopy full SHA for df10eae
source-map-support.js
@@ -516,7 +516,7 @@ function shimEmitUncaughtException () {
516
const hadListeners = origEmit.apply(this, arguments);
517
if (type === 'uncaughtException' && !hadListeners) {
518
isTerminatingDueToFatalException = true;
519
- fatalException = arguments[0];
+ fatalException = arguments[1];
520
process.exit(1);
521
}
522
if (type === 'exit' && isTerminatingDueToFatalException) {
0 commit comments