wallet-core/packages/taler-wallet-webextension/service_worker.js

12 lines
278 B
JavaScript
Raw Normal View History

2022-05-06 22:29:42 +02:00
/* eslint-disable no-undef */
/**
* Wrapper to catch any initialization error and show it in the logs
*/
try {
importScripts("dist/background.js");
self.skipWaiting();
console.log("SERVICE WORKER init: ok");
} catch (e) {
console.error("SERVICE WORKER failed:", e);
}