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, eventId: eventId,
}); });
} catch (e) { } catch (e) {
console.error(e);
self.postMessage({ self.postMessage({
eventType: "ERROR", eventType: "ERROR",
eventData: eventData:
"An error occured executing WASM instance function: " + "An error occured executing WASM instance function: " +
error.toString(), e.toString(),
eventId: eventId, eventId: eventId,
}); });
} }