Open bajtos opened 4 months ago
Implement globalThis.addEventListener("unhandledrejection", (event) => {}), see https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event
globalThis.addEventListener("unhandledrejection", (event) => {})
This will allow Voyager to graciously handle global errors escaping from the Saturn client and prevent the module from frequently crashing.
Related:
Consider reverting the following changes after we update Voyager to not crash on uncaught errors from Saturn:
Implement
globalThis.addEventListener("unhandledrejection", (event) => {})
, see https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_eventThis will allow Voyager to graciously handle global errors escaping from the Saturn client and prevent the module from frequently crashing.
Related:
Consider reverting the following changes after we update Voyager to not crash on uncaught errors from Saturn: