mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-19 09:57:18 +01:00
* . * add sentry * prettier * up packages * no edge sentry --------- Co-authored-by: Aslam H <iupin5212@gmail.com>
10 lines
280 B
TypeScript
10 lines
280 B
TypeScript
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..." })
|
|
}
|