Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit fd44053

Browse files
authored
Don't log exceptions for every non-200 response (#15969)
Introduced in #15913
1 parent ad52db3 commit fd44053

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

changelog.d/15969.feature

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Allow configuring the set of workers to proxy outbound federation traffic through via `outbound_federation_restricted_to`.

synapse/http/server.py

-4
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,6 @@ async def _async_render_wrapper(self, request: "SynapseRequest") -> None:
327327
# of our stack, and thus gives us a sensible stack
328328
# trace.
329329
f = failure.Failure()
330-
logger.exception(
331-
"Error handling request",
332-
exc_info=(f.type, f.value, f.getTracebackObject()),
333-
)
334330
self._send_error_response(f, request)
335331

336332
async def _async_render(

0 commit comments

Comments
 (0)