summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-07-20 11:07:58 +0100
committerGitHub <noreply@github.com>2023-07-20 11:07:58 +0100
commitfd44053b84e6519b7425f295e71e1084111bec46 (patch)
tree3591dcb68d749f5beb84c75f6268d855accf5b31 /synapse
parentReduce the amount of state we pull out (#15968) (diff)
downloadsynapse-fd44053b84e6519b7425f295e71e1084111bec46.tar.xz
Don't log exceptions for every non-200 response (#15969)
Introduced in #15913
Diffstat (limited to '')
-rw-r--r--synapse/http/server.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index f592600880..5109cec983 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -327,10 +327,6 @@ class _AsyncResource(resource.Resource, metaclass=abc.ABCMeta):
             # of our stack, and thus gives us a sensible stack
             # trace.
             f = failure.Failure()
-            logger.exception(
-                "Error handling request",
-                exc_info=(f.type, f.value, f.getTracebackObject()),
-            )
             self._send_error_response(f, request)
 
     async def _async_render(