From 6b14ce111b3f70437ea0a494e5b89d2db4062355 Mon Sep 17 00:00:00 2001 From: Callum Loh Date: Mon, 21 Jul 2025 12:01:13 +0100 Subject: [PATCH] Log errors to console to enable easier debugging --- src/ui/markdown.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/markdown.tsx b/src/ui/markdown.tsx index 974cae0b7..20efa6cc2 100644 --- a/src/ui/markdown.tsx +++ b/src/ui/markdown.tsx @@ -310,6 +310,8 @@ export function SimpleErrorBoundary({ }: PropsWithChildren<{ title?: string; message?: string }>) { const [error, reset] = useErrorBoundary(); + console.error(error); + if (error) { return ; } else {