merge changes
This commit is contained in:
parent
a551ff32a2
commit
6e0d64d972
1 changed files with 1 additions and 2 deletions
|
@ -8,6 +8,5 @@ class ExceptionMiddleware(object):
|
||||||
def process_exception(self, request, exception):
|
def process_exception(self, request, exception):
|
||||||
if isinstance(exception, HttpErrorJson):
|
if isinstance(exception, HttpErrorJson):
|
||||||
return render_to_json_response(exception.response)
|
return render_to_json_response(exception.response)
|
||||||
else:
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue