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 0942ab3 commit 4fba325Copy full SHA for 4fba325
packages/browser/src/tracekit.ts
@@ -462,7 +462,7 @@ TraceKit.report = (function reportModuleWrapper() {
462
*/
463
function uninstallGlobalUnhandledRejectionHandler() {
464
if (_onUnhandledRejectionHandlerInstalled) {
465
- window.onerror = _oldOnunhandledrejectionHandler;
+ window.onunhandledrejection = _oldOnunhandledrejectionHandler;
466
_onUnhandledRejectionHandlerInstalled = false;
467
}
468
0 commit comments