stringify worker error msg
This commit is contained in:
parent
ce5fbf0819
commit
a5532b23f3
@ -152,6 +152,6 @@ globalThis.onmessage = async ev => {
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
reply(msg.id, { error: e });
|
||||
reply(msg.id, { error: JSON.stringify(e) });
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user