Skip to content

Commit 2c1c1c8

Browse files
committed
rollbar integration
1 parent 01a8218 commit 2c1c1c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

task_manager/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ def index(request):
99

1010
def rollbar_test(request):
1111
if not settings.DEBUG:
12-
raise Http404()
13-
raise RuntimeError("Rollbar test: dev only")
12+
raise Http404("Not found")
13+
raise RuntimeError("Rollbar test: искусственная ошибка для проверки")

0 commit comments

Comments
 (0)