0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 02:33:47 +01:00

SYN-282: Don't log tracebacks for client errors

This commit is contained in:
Mark Haines 2015-02-18 12:01:37 +00:00
parent 5806d52423
commit 6375bd3e33

View file

@ -54,7 +54,7 @@ class BaseMediaResource(Resource):
try:
yield request_handler(self, request)
except CodeMessageException as e:
logger.exception(e)
logger.info("Responding with error: %r", e)
respond_with_json(
request, e.code, cs_exception(e), send_cors=True
)