Skip to content

Commit

Permalink
fix(sandboxed): ensure DelayedError is checked in Sandboxed processors (
Browse files Browse the repository at this point in the history
#2567) fixes #2566
  • Loading branch information
imperfect-circuits committed May 21, 2024
1 parent 2dd3709 commit 8158fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ will never work with more accuracy than 1ms. */

if (
err instanceof DelayedError ||
err.message == 'DelayedError' ||
err.name == 'DelayedError' ||
err instanceof WaitingChildrenError ||
err.name == 'WaitingChildrenError'
) {
Expand Down

0 comments on commit 8158fa1

Please sign in to comment.