Fix Catcher crash on wrong kind of errors
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run

This commit is contained in:
Kalle
2026-05-27 08:11:36 +03:00
parent 96318ded33
commit cc4219de35

View File

@@ -135,7 +135,7 @@ export function Catcher() {
<pre>
Session ID: {getSessionId()}
{error.data
? `\n${JSON.stringify(JSON.parse(error.data), null, 2)}`
? `\n${typeof error.data === "string" ? error.data : JSON.stringify(error.data, null, 2)}`
: null}
</pre>
</Main>