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}