Skip to content

Commit

Permalink
fix: avoid using the same route as the one for legitimate server errors
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Feb 25, 2025
1 parent d54ca5a commit b8fb698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benefits/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
def trigger_error(request):
raise RuntimeError("Test error")

urlpatterns.append(path("error/", trigger_error))
urlpatterns.append(path("testerror/", trigger_error))

# simple route to read a pre-defined "secret"
# this "secret" does not contain sensitive information
Expand Down

0 comments on commit b8fb698

Please # to comment.