mirror of
https://github.com/ae-utbm/sith.git
synced 2025-08-06 09:09:55 +00:00
Function name refactor
So the name is clearer
This commit is contained in:
@@ -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)]
|
||||||
|
Reference in New Issue
Block a user