This commit is contained in:
louiscklaw
2025-04-22 01:07:18 +08:00
parent e4aee3f02f
commit 7f3f02463f
33 changed files with 62 additions and 2283 deletions

View File

@@ -73,7 +73,6 @@ export default function Page({ searchParams }: PageProps): React.JSX.Element {
setShowError({
//
show: true,
code: error.status,
detail: JSON.stringify(error, null, 2),
});
} finally {
@@ -141,7 +140,7 @@ export default function Page({ searchParams }: PageProps): React.JSX.Element {
return (
<ErrorDisplay
message={t('error.unable-to-process-request')}
code={showError.code}
code={-1}
details={showError.detail}
/>
);