Mess around with error message

This commit is contained in:
David Corbitt
2023-06-28 16:05:02 -07:00
parent 99ca8bec25
commit ac833a44d2

View File

@@ -64,9 +64,9 @@ export default function OutputCell({
try { try {
parsedArgs = JSON.parse(rawArgs); parsedArgs = JSON.parse(rawArgs);
} catch (e: any) { } catch (e: any) {
parsedArgs = `Failed to parse arguments as JSON: ${ parsedArgs = `Failed to parse arguments as JSON: '${rawArgs}' ERROR: ${
e.message as string e.message as string
} ${rawArgs}`; }`;
} }
return ( return (