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
This commit is contained in:
Ole Laursen 2013-12-24 15:10:20 +00:00
parent 083b3138c6
commit 9cab5e8263

View file

@ -50,6 +50,7 @@ class DajaxiceRequest(View):
try:
response = function.call(request, **data)
except Exception:
raise # always give us a backtrace
if settings.DEBUG:
raise
response = dajaxice_config.DAJAXICE_EXCEPTION