- -
- -Get started by sending us a sample error:
- - -- Next, look for the error on the{" "} - Issues Page. -
-- For more information, see{" "} - - https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -
-diff --git a/web/app/api/sentry-example-api/route.ts b/web/app/api/sentry-example-api/route.ts deleted file mode 100644 index ca8c0da0..00000000 --- a/web/app/api/sentry-example-api/route.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { NextResponse } from "next/server" - -export const dynamic = "force-dynamic" - -// A faulty API route to test Sentry's error monitoring -export function GET() { - throw new Error("Sentry Example API Route Error") - return NextResponse.json({ data: "Testing Sentry Error..." }) -} diff --git a/web/app/sentry-example-page/page.tsx b/web/app/sentry-example-page/page.tsx deleted file mode 100644 index f8bb4ebf..00000000 --- a/web/app/sentry-example-page/page.tsx +++ /dev/null @@ -1,82 +0,0 @@ -"use client" - -import Head from "next/head" -import * as Sentry from "@sentry/nextjs" - -export default function Page() { - return ( -
Get started by sending us a sample error:
- - -- Next, look for the error on the{" "} - Issues Page. -
-- For more information, see{" "} - - https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -
-