Don't try to share errors between workers
It throws errors in Firefox
This commit is contained in:
1 file changed
+1
-1
@@ -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}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user