Skip to content

Commit

Permalink
sentry debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonejt committed Apr 21, 2024
1 parent 81afd24 commit bfee3b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sibyl/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
from rest_framework.permissions import AllowAny
from community.views import CommunityView

def trigger_error(request):
division_by_zero = 1 / 0

urlpatterns = [
path('admin/', admin.site.urls),
path('community', CommunityView.as_view()),
Expand All @@ -35,4 +38,5 @@
template_name='swagger-ui.html',
extra_context={'schema_url': 'sibyl-schema'}
), name='swagger-ui'),
path('sentry-debug/', trigger_error),
]

0 comments on commit bfee3b0

Please sign in to comment.