Show More
@@ -375,7 +375,8 b' def json_errors(method):' | |||||
375 | reply = dict(message=message, reason=None, traceback=tb_text) |
|
375 | reply = dict(message=message, reason=None, traceback=tb_text) | |
376 | self.finish(json.dumps(reply)) |
|
376 | self.finish(json.dumps(reply)) | |
377 | else: |
|
377 | else: | |
378 | return result |
|
378 | # FIXME: can use regular return in generators in py3 | |
|
379 | raise gen.Return(result) | |||
379 | return wrapper |
|
380 | return wrapper | |
380 |
|
381 | |||
381 |
|
382 |
General Comments 0
You need to be logged in to leave comments.
Login now