From f7418fdc005ca2b6d6ae31cb145b126f2e9587a0 Mon Sep 17 00:00:00 2001 From: Ashwin Date: Fri, 20 Feb 2026 18:01:58 +0530 Subject: [PATCH] chore: Remove Sentry example page and its corresponding API route. --- .../routes/sentry-example-page/+page.svelte | 209 ------------------ .../src/routes/sentry-example-page/+server.js | 6 - 2 files changed, 215 deletions(-) delete mode 100644 frontend/src/routes/sentry-example-page/+page.svelte delete mode 100644 frontend/src/routes/sentry-example-page/+server.js diff --git a/frontend/src/routes/sentry-example-page/+page.svelte b/frontend/src/routes/sentry-example-page/+page.svelte deleted file mode 100644 index 589dfef4..00000000 --- a/frontend/src/routes/sentry-example-page/+page.svelte +++ /dev/null @@ -1,209 +0,0 @@ - - - - -sentry-example-page - -
-
-
- - - -

- sentry-example-page -

- -

- Click the button below, and view the sample error on the Sentry Issues Page. - For more details about setting up Sentry, read our docs. -

- - - - {#if hasSentError} -

- Sample error was sent to Sentry. -

- {:else if !isConnected} -
-

It looks like network requests to Sentry are being blocked, which will prevent errors from being captured. Try disabling your ad-blocker to complete the test.

-
- {:else} -
- {/if} -
-
-
- - diff --git a/frontend/src/routes/sentry-example-page/+server.js b/frontend/src/routes/sentry-example-page/+server.js deleted file mode 100644 index beec9593..00000000 --- a/frontend/src/routes/sentry-example-page/+server.js +++ /dev/null @@ -1,6 +0,0 @@ -// This is just a very simple API route that throws an example error. -// Feel free to delete this file and the entire sentry route. - -export const GET = async () => { - throw new Error("Sentry Example API Route Error"); -};