Skip to content

Commit df10eae

Browse files
committed
fix
1 parent 636c7e0 commit df10eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source-map-support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ function shimEmitUncaughtException () {
516516
const hadListeners = origEmit.apply(this, arguments);
517517
if (type === 'uncaughtException' && !hadListeners) {
518518
isTerminatingDueToFatalException = true;
519-
fatalException = arguments[0];
519+
fatalException = arguments[1];
520520
process.exit(1);
521521
}
522522
if (type === 'exit' && isTerminatingDueToFatalException) {

0 commit comments

Comments
 (0)