mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
Function name refactor
So the name is clearer
This commit is contained in:
parent
05b86e1f7a
commit
64f8d9bad3
@ -106,7 +106,7 @@ if settings.DEBUG:
|
|||||||
NOTE : you need to specify the SENTRY_DSN setting in settings_custom.py
|
NOTE : you need to specify the SENTRY_DSN setting in settings_custom.py
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def trigger_error(request):
|
def raise_exception(request):
|
||||||
division_by_zero = 1 / 0
|
division_by_zero = 1 / 0
|
||||||
|
|
||||||
urlpatterns += [path("sentry-debug/", trigger_error)]
|
urlpatterns += [path("sentry-debug/", raise_exception)]
|
||||||
|
Loading…
Reference in New Issue
Block a user