This commit is contained in:
Julien00859 2018-02-21 00:50:27 +01:00
parent 0b38dea613
commit 9c75ad3de1

View File

@ -79,9 +79,9 @@ class ErrorHandler:
response = None response = None
try: try:
if handler: if handler:
response = handler(request=request, exception=exception) response = handler(request, exception)
if response is None: if response is None:
response = self.default(request=request, exception=exception) response = self.default(request, exception)
except Exception: except Exception:
self.log(format_exc()) self.log(format_exc())
if self.debug: if self.debug: