
committed by
Kara Erickson

parent
929334b0bf
commit
b61dafaeac
@ -133,7 +133,7 @@ function initWebWorkerRenderPlatform(injector: Injector): () => void {
|
||||
let scriptUri: string;
|
||||
try {
|
||||
scriptUri = injector.get(WORKER_SCRIPT);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
throw new Error(
|
||||
'You must provide your WebWorker\'s initialization script with the WORKER_SCRIPT token');
|
||||
}
|
||||
|
Reference in New Issue
Block a user