Merge pull request #22401 from Evernorth/kp/fix-misleading-status-code-in-error-page

fix(Error): resolve misleading HTTP status code 501 in Error page. Fixes #22159
This commit is contained in:
Fredrik Adelöw
2024-01-31 15:26:38 +01:00
committed by GitHub
3 changed files with 8 additions and 2 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 status="501" statusMessage={message} />
<ErrorPage statusMessage={message} />
</OptionallyWrapInRouter>
);
};