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

Commit

Permalink
Don't log exceptions for every non-200 response (matrix-org#15969)
Browse files Browse the repository at this point in the history
Introduced in matrix-org#15913
  • Loading branch information
erikjohnston authored and Fizzadar committed Aug 31, 2023
1 parent dea39f1 commit d5af4de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions changelog.d/15969.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow configuring the set of workers to proxy outbound federation traffic through via `outbound_federation_restricted_to`.
4 changes: 0 additions & 4 deletions synapse/http/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,6 @@ async def _async_render_wrapper(self, request: "SynapseRequest") -> None:
# 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(
Expand Down

0 comments on commit d5af4de

Please sign in to comment.