Skip to content

Commit

Permalink
Add route to test Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyi committed Jan 13, 2025
1 parent b8ec1ca commit 9096212
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions adminSiteServer/apiRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,4 +432,8 @@ apiRouter.put("/deploy", async (req, res) => {
return triggerStaticBuild(res.locals.user, "Manually triggered deploy")
})

apiRouter.get("/debug-sentry", async (req, res) => {
throw new Error("Test Sentry error.")
})

export { apiRouter }

0 comments on commit 9096212

Please sign in to comment.