Skip to content

do not terminate on uncaught extension errors, log them

Warren Gifford requested to merge dont-terminate-on-uncaught into master

Created by: sqs

If an uncaught exception occurred in an extension, previously the entire extension host would terminate. Now it will just log the error and continue.

For example, this would cause termination (in extension code):

setTimeout(() => {
  throw new Error('x')
})

This unfortunately is hard to test, because it actually needs a Web Worker.

Merge request reports

Loading