printing error stack

This commit is contained in:
Carter 2025-01-30 13:40:52 -06:00
parent 80f3359c5e
commit dcced6bc5b

View file

@ -126,7 +126,7 @@ export default function Router(props: Props) {
} }
function ErrorFallback({ error }: { error: Error }) { function ErrorFallback({ error }: { error: Error }) {
return <div>Something went wrong: {error.message}</div>; return <div>Something went wrong: {error.stack}</div>;
} }
return ( return (