mirror of https://github.com/zulip/zulip.git
runtornado: Add explicit return None.
This commit is contained in:
parent
5f9cd4d7c8
commit
05a40f11b3
|
@ -242,7 +242,7 @@ class AsyncDjangoHandler(tornado.web.RequestHandler, base.BaseHandler):
|
|||
response = callback(request, *callback_args, **callback_kwargs)
|
||||
if response is RespondAsynchronously:
|
||||
async_request_stop(request)
|
||||
return
|
||||
return None
|
||||
except Exception as e:
|
||||
# If the view raised an exception, run it through exception
|
||||
# middleware, and if the exception middleware returns a
|
||||
|
|
Loading…
Reference in New Issue