Unable to catch an error when creating an AudioWorklet #2543
-
I have an audio worklet that looks like this:
This processor should not build on purpose. So I get an expected error
The problem now is I've tried adding The creation process looks a bit like that
UPDATE: I was able to catch one level of error using Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 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 Please file an issue on the browser vendor's issue tracker.
For reference, Gecko's (Firefox) issue tracker is at: https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=Web%20Audio (GitHub or Mozilla Bugzilla account needed). |
Beta Was this translation helpful? Give feedback.
-
Sorry I though it was the correct place. I guess I'll make a bug request and for the moment add different implementations based on browser. Best and Thanks again. |
Beta Was this translation helpful? Give feedback.
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.