You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a browser on rejection, by default, you will see notify in the console, or you can add a custom handler and a handler on handling unhandled, [*example*](http://goo.gl/Wozskl):
803
803
```js
804
+
window.addEventListener('unhandledrejection', e => console.log('unhandled', e.reason, e.promise));
805
+
window.addEventListener('rejectionhandled', e => console.log('handled', e.reason, e.promise));
806
+
// or
804
807
window.onunhandledrejection = e => console.log('unhandled', e.reason, e.promise);
805
808
window.onrejectionhandled = e => console.log('handled', e.reason, e.promise);
0 commit comments