forked from MirrorHub/synapse
SYN-282: Don't log tracebacks for client errors
This commit is contained in:
parent
5806d52423
commit
6375bd3e33
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class BaseMediaResource(Resource):
|
||||||
try:
|
try:
|
||||||
yield request_handler(self, request)
|
yield request_handler(self, request)
|
||||||
except CodeMessageException as e:
|
except CodeMessageException as e:
|
||||||
logger.exception(e)
|
logger.info("Responding with error: %r", e)
|
||||||
respond_with_json(
|
respond_with_json(
|
||||||
request, e.code, cs_exception(e), send_cors=True
|
request, e.code, cs_exception(e), send_cors=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue