fix(service-worker): handle error with ErrorHandler#39990
fix(service-worker): handle error with ErrorHandler#39990chrisguttandin wants to merge 1 commit intoangular:masterfrom chrisguttandin:handle-service-worker-error-with-error-handler
Conversation
gkalpak
left a comment
There was a problem hiding this comment.
Thx for working on this, @chrisguttandin 👍
I've left a couple of minor comments. Could you also add a test for the new behavior in service-worker/test/module_spec.ts?
Also, let's add a short description of the motivation for the change in the commit message body and also add Fixes #39913 at the bottom (per our commit message guidelines).
|
Hi @gkalpak, thanks for your feedback. I made the changes and updated the test. Please let me know if there is anything else I should change. |
gkalpak
left a comment
There was a problem hiding this comment.
One super-minor nit. Otherwise lgtm (as long as CI is happy 😃)
Thx again, @chrisguttandin ✨
Errors thrown by calling serviceWorker.register() are now passed to the global ErrorHandler. Fixes #39913
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #39913
What is the new behavior?
Errors thrown when trying to register a Service Worker are now passed to the global ErrorHandler.
Does this PR introduce a breaking change?
Other information