diff options
author | Erik Johnston <erikj@jki.re> | 2019-02-18 16:41:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-18 16:41:41 +0000 |
commit | 028267acd244f7d4f6a53601bc0388734b4b385e (patch) | |
tree | 35f1c313356f9f28739ef28fb48d4f794d067b72 /synapse/http/server.py | |
parent | Merge pull request #4651 from matrix-org/matthew/well-known-cors (diff) | |
parent | Newsfile (diff) | |
download | synapse-028267acd244f7d4f6a53601bc0388734b4b385e.tar.xz |
Merge pull request #4669 from matrix-org/erikj/log_exception
Cleanup top level request exception logging
Diffstat (limited to 'synapse/http/server.py')
-rw-r--r-- | synapse/http/server.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py index 6a427d96a6..6c67a25a11 100644 --- a/synapse/http/server.py +++ b/synapse/http/server.py @@ -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 |