diff --git a/ui/src/routes/glitchtip-test/+page.server.ts b/ui/src/routes/glitchtip-test/+page.server.ts deleted file mode 100644 index 54051fd..0000000 --- a/ui/src/routes/glitchtip-test/+page.server.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { PageServerLoad } from './$types'; - -export const load: PageServerLoad = async ({ url }) => { - if (url.searchParams.get('server_error') === '1') { - // This unhandled throw is caught by handleError in hooks.server.ts, - // which forwards it to GlitchTip via Sentry.captureException. - throw new Error('GlitchTip server-side test error — ' + new Date().toISOString()); - } - return {}; -}; diff --git a/ui/src/routes/glitchtip-test/+page.svelte b/ui/src/routes/glitchtip-test/+page.svelte deleted file mode 100644 index 9234868..0000000 --- a/ui/src/routes/glitchtip-test/+page.svelte +++ /dev/null @@ -1,48 +0,0 @@ - - -
- Use the buttons below to fire test errors. Check - errors.libnovel.cc to confirm they arrive. -
- -