Skip to content

Commit 9cab5e8

Browse files
committed
Hack dajaxice to not suppress exceptions for the time being -
suppressing exceptions is a perfect way of hiding errors and preventing people who wonder what's wrong from debugging them. - Legacy-Id: 7066
1 parent 083b313 commit 9cab5e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dajaxice/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def dispatch(self, request, name=None):
5050
try:
5151
response = function.call(request, **data)
5252
except Exception:
53+
raise # always give us a backtrace
5354
if settings.DEBUG:
5455
raise
5556
response = dajaxice_config.DAJAXICE_EXCEPTION

0 commit comments

Comments
 (0)