Merge pull request #22189 from jithenms/feature/add-stack-trace-in-error-page

[feat] add stack trace option in error page
This commit is contained in:
Patrik Oldsberg
2024-02-06 13:42:34 +01:00
committed by GitHub
7 changed files with 105 additions and 4 deletions
@@ -49,7 +49,7 @@ const DefaultBootErrorPage = ({ step, error }: BootErrorPageProps) => {
// TODO: figure out a nicer way to handle routing on the error page, when it can be done.
return (
<OptionallyWrapInRouter>
<ErrorPage statusMessage={message} />
<ErrorPage statusMessage={message} stack={error.stack} />
</OptionallyWrapInRouter>
);
};