fix(tracker): wworker build fix
This commit is contained in:
parent
8750448841
commit
fedd89c119
1 changed files with 2 additions and 2 deletions
|
|
@ -74,9 +74,9 @@ self.onmessage = ({ data }: MessageEvent<WorkerMessageData>) => {
|
|||
case WorkerActivityLogStatus.Console:
|
||||
return console.error(msg, 'STATUS:', workerStatus, data)
|
||||
case WorkerActivityLogStatus.Error:
|
||||
throw new Error(`${msg} ----- STATUS: ${workerStatus}`);
|
||||
throw new Error(msg + '----- STATUS:' + workerStatus);
|
||||
case WorkerActivityLogStatus.ErrorWithData:
|
||||
throw new Error(`${msg} ----- STATUS: ${workerStatus} --- ${JSON.stringify(data)}`)
|
||||
throw new Error(msg + '----- STATUS:' + workerStatus + JSON.stringify(data))
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue