* .

* add sentry

* prettier

* up packages

* no edge sentry

---------

Co-authored-by: Aslam H <iupin5212@gmail.com>
This commit is contained in:
Nikita
2024-09-10 14:18:37 +03:00
committed by GitHub
parent 711fe35e1a
commit 9e28aa5995
13 changed files with 212 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
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..." })
}