Sentry (www)

This commit is contained in:
Koper
2023-08-02 16:20:29 +07:00
parent a3870efc40
commit be6c10cc9d
9 changed files with 542 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
// A faulty API route to test Sentry's error monitoring
export default function handler(_req, res) {
throw new Error("Sentry Example API Route Error");
res.status(200).json({ name: "John Doe" });
}