We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e38955 commit a51a735Copy full SHA for a51a735
frontend/src/index.tsx
@@ -50,6 +50,10 @@ import { useEffect, useState } from "preact/hooks";
50
51
if (isDebugMode.value) {
52
addEventListener("unhandledrejection", (event) => {
53
+ if (!event.reason || !event.reason.stack) {
54
+ console.error("Unhandled rejection without stack trace:", event);
55
+ return;
56
+ }
57
const stack = event.reason.stack.split("\n");
58
59
const evt = {
0 commit comments