Don't log exceptions for every non-200 response (#15969)
Introduced in #15913
This commit is contained in:
parent
ad52db3b5c
commit
fd44053b84
|
@ -0,0 +1 @@
|
||||||
|
Allow configuring the set of workers to proxy outbound federation traffic through via `outbound_federation_restricted_to`.
|
|
@ -327,10 +327,6 @@ class _AsyncResource(resource.Resource, metaclass=abc.ABCMeta):
|
||||||
# of our stack, and thus gives us a sensible stack
|
# of our stack, and thus gives us a sensible stack
|
||||||
# trace.
|
# trace.
|
||||||
f = failure.Failure()
|
f = failure.Failure()
|
||||||
logger.exception(
|
|
||||||
"Error handling request",
|
|
||||||
exc_info=(f.type, f.value, f.getTracebackObject()),
|
|
||||||
)
|
|
||||||
self._send_error_response(f, request)
|
self._send_error_response(f, request)
|
||||||
|
|
||||||
async def _async_render(
|
async def _async_render(
|
||||||
|
|
Loading…
Reference in New Issue