This commit is contained in:
Zef Hemel
2022-05-13 17:05:52 +02:00
parent 3c5048ac25
commit 7d01f77318
12 changed files with 70 additions and 55 deletions
@@ -120,10 +120,12 @@ parentPort.on("message", (data: any) => {
result: result && JSON.parse(JSON.stringify(result)),
});
} catch (e: any) {
// console.error("Error caught", e, "Stack", e.stack);
parentPort.postMessage({
type: "result",
id: data.id,
error: e.message,
stack: e.stack,
});
}
break;