Fix error errors

This commit is contained in:
CrispyBaguette 2021-12-12 18:07:36 +01:00
parent fd503598d7
commit 98efaa42fd

View File

@ -46,12 +46,11 @@ addEventListener(
eventId: eventId,
});
} catch (e) {
console.error(e);
self.postMessage({
eventType: "ERROR",
eventData:
"An error occured executing WASM instance function: " +
error.toString(),
e.toString(),
eventId: eventId,
});
}