Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) AbortError: Aborted #579

Open
rtman opened this issue Dec 11, 2020 · 1 comment
Open

Uncaught (in promise) AbortError: Aborted #579

rtman opened this issue Dec 11, 2020 · 1 comment
Milestone

Comments

@rtman
Copy link

rtman commented Dec 11, 2020

Hi,

I'm getting an uncaught promise error when setting the src key to the url of the audio file. This is happening in chrome, safari and firefox (on firefox it crashes the app completely, but the others tolerate this). The file still plays though i do notice a delay of a second or two (compared to almost no delay with html5 audio). Not sure if the delay is related.

Screen Shot 2020-12-10 at 5 27 47 PM

Screen Shot 2020-12-10 at 5 29 14 PM

@bvibber
Copy link
Owner

bvibber commented May 17, 2021

I believe this is due to a failure to properly catch the special AbortError type used to cancel the request -- for instance if you load an Ogg file with no index, it will cancel the original download request shortly into parsing it in order to seek to the end of the file looking for the last timestamp before seeking back.

I'll keep in mind for cleanup work; this should be caught and should not be visible on the console, though it's harmless.

@bvibber bvibber added this to the 2.0 cleanup milestone May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants