printing error stack
This commit is contained in:
parent
80f3359c5e
commit
dcced6bc5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue