fix: do not swallow errors in importScripts when loading extensions
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.