Skip to content

Commit 70bea86

Browse files
Send the original event to old onunhandledrejection call (#119)
1 parent df8540d commit 70bea86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stackdriver-errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function registerHandlers(reporter) {
8484
if (promiseRejectionEvent) {
8585
reporter.report(promiseRejectionEvent.reason).catch(noop);
8686
}
87-
oldPromiseRejectionHandler(promiseRejectionEvent.reason);
87+
oldPromiseRejectionHandler(promiseRejectionEvent);
8888
return true;
8989
};
9090
}

0 commit comments

Comments
 (0)