Skip to content

Unable to catch an error when creating an AudioWorklet #2543

Closed Answered by padenot
JSmithOner asked this question in Q&A
Discussion options

You must be logged in to vote

This repository is home to the Web Audio API specification.

Questions on how to do something with the Web Audio API are better suited to either Stack Overflow or the Web Audio API slack.

That said, this is an implementation issue, here's what Firefox says when logging the argument of onprocessorerror:

It has the correct message, line and column number, filename (here it's a blob that's why it's an uuid).

You can alternatively add a try {} catch (...) {} in the body of the ctor, that would also work.

Please file an issue on the browser vendor's issue tracker.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JSmithOner
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants