diff --git a/package-lock.json b/package-lock.json index 7974517f..48101dd7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2089,7 +2089,6 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { diff --git a/src/app/api/sentry-example-api/route.js b/src/app/api/sentry-example-api/route.js deleted file mode 100644 index b959951f..00000000 --- a/src/app/api/sentry-example-api/route.js +++ /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 default function GET() { - throw new Error("Sentry Example API Route Error"); - return NextResponse.json({ data: "Testing Sentry Error..." }); -} diff --git a/src/app/sentry-example-page/page.jsx b/src/app/sentry-example-page/page.jsx deleted file mode 100644 index 309f037c..00000000 --- a/src/app/sentry-example-page/page.jsx +++ /dev/null @@ -1,78 +0,0 @@ -"use client"; - -import Head from "next/head"; -import * as Sentry from "@sentry/nextjs"; - -export default function Page() { - return ( -
- - Sentry Onboarding - - - -
-

- - - -

- -

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/ - -

-
-
- ); -}