We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5242b0e commit a63301cCopy full SHA for a63301c
1 file changed
src/features/home.tsx
@@ -234,11 +234,11 @@ export default function Home () {
234
window.setTimeout((): void => scrollTo(SCROLL_BOTTOM_ID), 128);
235
// Makes a log message.
236
setLogs((oldLogs: string[]): string[] => [
237
- ...oldLogs, `❌ ${{
+ ...oldLogs, `❌ ${JSON.stringify({
238
message: (error as Error).message,
239
cause: (error as Error).cause,
240
name: (error as Error).name
241
- }}`
+ }, null, 2)}`
242
]);
243
}
244
0 commit comments