Don't try to share errors between workers

It throws errors in Firefox
This commit is contained in:
Thomas Weber committed 2021-06-15 10:46:06 -05:00
1 parent 20a9c26a0f
commit 3e15b7dfd1
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ class ExtensionWorker {
Promise.all(initialRegistrations).then(() => dispatch.call('extensions', 'onWorkerInit', id));
} catch (e) {
log.error(e);
dispatch.call('extensions', 'onWorkerInit', id, e);
dispatch.call('extensions', 'onWorkerInit', id, `${e}`);
}
});
});