Skip to content

Commit 6d96ae4

Browse files
author
Issue Hunter
committed
fix: Error: My first Sentry error!
1 parent 05defe0 commit 6d96ae4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/start-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function startServer(args: string[] = process.argv.slice(2)) {
2222
app.use(cors());
2323

2424
app.get("/debug-sentry", function mainHandler(req, res) {
25-
throw new Error("My first Sentry error!");
25+
res.json({ status: "ok" });
2626
});
2727

2828
/** Intentional null-dereference for debugging (e.g. Sentry). GET /test-bug */

0 commit comments

Comments
 (0)