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

Commit

Permalink
Don't log exceptions for every non-200 response
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jul 20, 2023
1 parent ad52db3 commit 5dd6092
Showing 1 changed file with 0 additions and 4 deletions.
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 5dd6092

Please sign in to comment.