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:
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user