From f981426ae02a9594f3216d7efd1927f0154ffdf2 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 20 Oct 2023 16:21:19 +0100 Subject: [PATCH] why is this a thing --- src/app/api/sentry-example-api/route.js | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 src/app/api/sentry-example-api/route.js 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 80dcc18..0000000 --- a/src/app/api/sentry-example-api/route.js +++ /dev/null @@ -1,7 +0,0 @@ -import { NextResponse } from "next/server"; - -// 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..." }); -}