aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/service_worker.js
blob: 38064e24513bb9415feb38e4953c71541479b4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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);
}