Closed mubaidr closed 9 months ago
This ensures errors are logged, but extension context is not disconnected.
self.onerror = function (message, source, lineno, colno, error) { console.info( `Error: ${message}\nSource: ${source}\nLine: ${lineno}\nColumn: ${colno}\nError object: ${error}` ) }
https://github.com/mubaidr/vite-vue3-chrome-extension-v3/commit/b82606ec877eed8cbd9a601d9cc262f85ad3f335
This ensures errors are logged, but extension context is not disconnected.