Show More
@@ -287,6 +287,7 b' def json_errors(method):' | |||||
287 | except web.HTTPError as e: |
|
287 | except web.HTTPError as e: | |
288 | status = e.status_code |
|
288 | status = e.status_code | |
289 | message = e.log_message |
|
289 | message = e.log_message | |
|
290 | self.log.warn(message) | |||
290 | self.set_status(e.status_code) |
|
291 | self.set_status(e.status_code) | |
291 | self.finish(json.dumps(dict(message=message))) |
|
292 | self.finish(json.dumps(dict(message=message))) | |
292 | except Exception: |
|
293 | except Exception: |
General Comments 0
You need to be logged in to leave comments.
Login now