From cc4219de35350b8a2ae79e8e681df7ce60b9e38a Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Wed, 27 May 2026 08:11:36 +0300 Subject: [PATCH] Fix Catcher crash on wrong kind of errors --- app/components/Catcher.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Catcher.tsx b/app/components/Catcher.tsx index 4c243af44..33506135b 100644 --- a/app/components/Catcher.tsx +++ b/app/components/Catcher.tsx @@ -135,7 +135,7 @@ export function Catcher() {
 						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}