Skip to content

fix: do not swallow errors in importScripts when loading extensions

Warren Gifford requested to merge dont-swallow-workermain-exceptions into master

Created by: sqs

If an extension has side effects (e.g., it has a top-level const x foo()) that throw, or if other errors occur during importScripts, the error would have been swallowed. This makes it so that the error is printed.

Merge request reports

Loading