freshter-logs/routes/_500.tsx

6 lines
186 B
TypeScript
Raw Normal View History

2023-04-28 19:48:34 -04:00
import { ErrorPageProps } from "$fresh/server.ts";
export default function Error500Page({ error }: ErrorPageProps) {
return <p>500 internal error: {(error as Error).message}</p>;
}