summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-18 13:37:06 +0000
committerErik Johnston <erik@matrix.org>2015-02-18 13:37:06 +0000
commitd4952e6849c0adf1914bf36f6eaa819bce9b07ec (patch)
treebb46b674a8507241d5fe6c459efe314f09daeca8
parentFix syntax (diff)
parentSYN-282: Don't log tracebacks for client errors (diff)
downloadsynapse-d4952e6849c0adf1914bf36f6eaa819bce9b07ec.tar.xz
Merge pull request #81 from matrix-org/bugs/SYN-282
SYN-282: Don't log tracebacks for client errors
-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
                 )