close #1136
This commit is contained in:
parent
0b38dea613
commit
9c75ad3de1
|
@ -79,9 +79,9 @@ class ErrorHandler:
|
|||
response = None
|
||||
try:
|
||||
if handler:
|
||||
response = handler(request=request, exception=exception)
|
||||
response = handler(request, exception)
|
||||
if response is None:
|
||||
response = self.default(request=request, exception=exception)
|
||||
response = self.default(request, exception)
|
||||
except Exception:
|
||||
self.log(format_exc())
|
||||
if self.debug:
|
||||
|
|
Loading…
Reference in New Issue
Block a user