React client app #5
@ -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