question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Promise canceled error when logged out

See original GitHub issue

Visit 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:closed
  • Created 6 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
fregantecommented, Oct 23, 2017

Logged out mode is not supported at all

0reactions
fregantecommented, Oct 28, 2017

PR it then 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found