diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-02-18 12:01:37 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-02-18 12:01:37 +0000 |
commit | 6375bd3e33f687499e6d15298e74416c77ab499e (patch) | |
tree | bb46b674a8507241d5fe6c459efe314f09daeca8 /synapse/rest/media/v1/base_resource.py | |
parent | Fix syntax (diff) | |
download | synapse-6375bd3e33f687499e6d15298e74416c77ab499e.tar.xz |
SYN-282: Don't log tracebacks for client errors
Diffstat (limited to 'synapse/rest/media/v1/base_resource.py')
-rw-r--r-- | synapse/rest/media/v1/base_resource.py | 2 |
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 ) |