mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Merge branch 'dev' into dev
This commit is contained in:
commit
0581d01cbf
1 changed files with 3 additions and 1 deletions
|
@ -83,10 +83,12 @@ export function WorkerTestPart() {
|
||||||
status: "success",
|
status: "success",
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
const error = err as Error;
|
||||||
|
error.message = error.message.replace(worker.url, "WORKER_URL");
|
||||||
updateWorker(worker.id, {
|
updateWorker(worker.id, {
|
||||||
id: worker.id,
|
id: worker.id,
|
||||||
status: "error",
|
status: "error",
|
||||||
error: err as Error,
|
error,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue