Skip to content

Commit

Permalink
πŸ› fix #182
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidZhang73 committed Nov 15, 2023
1 parent 3b15ff7 commit 746612a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/worker/video-process-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ onmessage = async (event) => {
}
}
} catch (e) {
if (e.toString() ===
'AbortError: The user aborted a request.') return false
if (e.toString().includes('AbortError')) return false
else throw e
}
}
Expand Down

0 comments on commit 746612a

Please sign in to comment.