--- import { z } from 'astro/zod' import { Icon } from 'astro-icon/components' import { LOGS_UI_URL } from 'astro:env/server' import { SUPPORT_EMAIL } from '../constants/project' import BaseLayout from '../layouts/BaseLayout.astro' import { DEPLOYMENT_MODE } from '../lib/client/envVariables' import { zodParseQueryParamsStoringErrors } from '../lib/parseUrlFilters' type Props = { error: unknown } const { error } = Astro.props const { data: { message }, } = zodParseQueryParamsStoringErrors({ message: z.string().optional() }, Astro) ---

500

Server Error

{/* eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing */} {message || 'Sorry, something crashed on the server.'}

{ (DEPLOYMENT_MODE !== 'production' || Astro.locals.user?.admin) && (
) }
Try again Go back home Contact support { Astro.locals.user?.admin && !!LOGS_UI_URL && ( View logs (admin only) ) }