parent
ac6d67a395
commit
fcf0b278a9
|
@ -494,7 +494,7 @@ class JsonRequest(WebRequest):
|
||||||
|
|
||||||
def _handle_exception(self, exception):
|
def _handle_exception(self, exception):
|
||||||
"""Called within an except block to allow converting exceptions
|
"""Called within an except block to allow converting exceptions
|
||||||
to abitrary responses. Anything returned (except None) will
|
to arbitrary responses. Anything returned (except None) will
|
||||||
be used as response."""
|
be used as response."""
|
||||||
try:
|
try:
|
||||||
return super(JsonRequest, self)._handle_exception(exception)
|
return super(JsonRequest, self)._handle_exception(exception)
|
||||||
|
|
Loading…
Reference in New Issue