summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-02-18 12:01:37 +0000
committerMark Haines <mark.haines@matrix.org>2015-02-18 12:01:37 +0000
commit6375bd3e33f687499e6d15298e74416c77ab499e (patch)
treebb46b674a8507241d5fe6c459efe314f09daeca8 /synapse
parentFix syntax (diff)
downloadsynapse-6375bd3e33f687499e6d15298e74416c77ab499e.tar.xz
SYN-282: Don't log tracebacks for client errors
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/media/v1/base_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/base_resource.py b/synapse/rest/media/v1/base_resource.py
index d44d5f1298..b10cbddb81 100644
--- a/synapse/rest/media/v1/base_resource.py
+++ b/synapse/rest/media/v1/base_resource.py
@@ -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
                 )