Fix error errors
This commit is contained in:
parent
fd503598d7
commit
98efaa42fd
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user