summary refs log tree commit diff
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
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
-rw-r--r--changelog.d/15969.feature1
-rw-r--r--synapse/http/server.py4
2 files changed, 1 insertions, 4 deletions
diff --git a/changelog.d/15969.feature b/changelog.d/15969.feature
new file mode 100644
index 0000000000..0d77fae2dc
--- /dev/null
+++ b/changelog.d/15969.feature
@@ -0,0 +1 @@
+Allow configuring the set of workers to proxy outbound federation traffic through via `outbound_federation_restricted_to`.
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(