Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
added broken endpoint to cause 500 error
Browse files Browse the repository at this point in the history
Co-authored-by: halprin <[email protected]>
  • Loading branch information
pluckyswan and halprin committed Oct 23, 2024
1 parent 5836486 commit 0658732
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public static void main(String[] args) {
try {
app.get(HEALTH_API_ENDPOINT, ctx -> ctx.result("Operational"));
app.get(ROOT_API_ENDPOINT, ctx -> ctx.result("Operational"));
app.get("/badhealthnews", ctx -> ctx.result("Broken").status(500));


registerClasses();
registerDomains(app);
Expand Down

0 comments on commit 0658732

Please sign in to comment.