stringify worker error msg
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Martti Malmi 2024-02-27 13:53:26 +02:00
parent ce5fbf0819
commit a5532b23f3

View File

@ -152,6 +152,6 @@ globalThis.onmessage = async ev => {
} }
} catch (e) { } catch (e) {
console.error(e); console.error(e);
reply(msg.id, { error: e }); reply(msg.id, { error: JSON.stringify(e) });
} }
}; };