mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 02:22:40 +00:00
fix(runtime/js/workers): throw errors instead of using an op (#12249)
This commit is contained in:
parent
c0b6c0eea5
commit
b354eaa247
23 changed files with 74 additions and 74 deletions
|
@ -157,10 +157,7 @@ delete Object.prototype.__proto__;
|
|||
|
||||
globalDispatchEvent(errorEvent);
|
||||
if (!errorEvent.defaultPrevented) {
|
||||
core.opSync(
|
||||
"op_worker_unhandled_error",
|
||||
e.message,
|
||||
);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue