In the MV2 background page it's possible to do this:
window.addEventListener("error", evt =>{ . . . })This allows us receive automatic error reports after the extension has already been published in the CWS. Thanks to this we've been able to detect and fix many errors throughout the years.
However, in the MV3 service worker, this doesn't seem to do anything:
self.addEventListener("error", evt =>{ . . . })
Is there any other way of listening for run-time errors in the service worker?