Skip to content
Snippets Groups Projects
Unverified Commit 028267ac authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Merge pull request #4669 from matrix-org/erikj/log_exception

Cleanup top level request exception logging
parents d08bac41 12ae64ce
No related branches found
No related tags found
No related merge requests found
Cleanup request exception logging
......@@ -106,10 +106,10 @@ def wrap_json_request_handler(h):
# trace.
f = failure.Failure()
logger.error(
"Failed handle request via %r: %r: %s",
h,
"Failed handle request via %r: %r",
request.request_metrics.name,
request,
f.getTraceback().rstrip(),
exc_info=(f.type, f.value, f.getTracebackObject()),
)
# Only respond with an error response if we haven't already started
# writing, otherwise lets just kill the connection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment