diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-18 13:37:06 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-18 13:37:06 +0000 |
commit | d4952e6849c0adf1914bf36f6eaa819bce9b07ec (patch) | |
tree | bb46b674a8507241d5fe6c459efe314f09daeca8 /synapse/rest/media/v1/base_resource.py | |
parent | Fix syntax (diff) | |
parent | SYN-282: Don't log tracebacks for client errors (diff) | |
download | synapse-d4952e6849c0adf1914bf36f6eaa819bce9b07ec.tar.xz |
Merge pull request #81 from matrix-org/bugs/SYN-282
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 ) |