Promise canceled error when logged out
See original GitHub issueVisit a user repository, e.g. https://github.com/sindresorhus while logged out and you’ll get the following exception:
Uncaught (in promise) CancelError: Promise was canceled
at PCancelable.cancel (chrome-extension://pfnempognmilfkflbpbfmcllgmmlcdal/content.js:2513:51)
at requestAnimationFrame (chrome-extension://pfnempognmilfkflbpbfmcllgmmlcdal/content.js:1597:84)
If you’re logged in, the error does not occur.
Same error occurs on the login screen itself as well.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Promise - is it possible to force cancel a promise
In modern JavaScript - no. Promises have settled (hah) and it appears like it will never be possible to cancel a (pending) promise....
Read more >Promise Cancellation Is Dead — Long Live ... - Ben Lesh
You must opt into cancellation the moment that the Promise is created. So what can you do? Well, here are four options (there...
Read more >onMouseLeave throws uncaught canceled #2382 - GitHub
The error is harmless, the problem is that we have a rejected promise that is not explicitly handled and this makes it by...
Read more >.timeout | bluebird
However, if this promise is not fulfilled or rejected within ms milliseconds, the returned promise is rejected with a TimeoutError or the error...
Read more >Window: unhandledrejection event - Web APIs | MDN
Basic error logging. This example logs information about the unhandled promise rejection to the console. window.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Logged out mode is not supported at all
PR it then 😃