stringify worker error msg
This commit is contained in:
@ -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) });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user