diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-01-30 17:52:03 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-01-30 17:52:03 +0000 |
commit | af19f5e9aa47dd9875df3937d514ae7708eed539 (patch) | |
tree | b0547f5689669535bf9497408b0bbad450198a40 | |
parent | Merge pull request #2831 from matrix-org/rav/fix-userdir-search-again (diff) | |
download | synapse-af19f5e9aa47dd9875df3937d514ae7708eed539.tar.xz |
Remove spurious log argument
... which would cause scary-looking and unhelpful errors in the log on dns fail
-rw-r--r-- | synapse/http/endpoint.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py index e2b99ef3bd..87639b9151 100644 --- a/synapse/http/endpoint.py +++ b/synapse/http/endpoint.py @@ -357,8 +357,7 @@ def _get_hosts_for_srv_record(dns_client, host): def eb(res, record_type): if res.check(DNSNameError): return [] - logger.warn("Error looking up %s for %s: %s", - record_type, host, res, res.value) + logger.warn("Error looking up %s for %s: %s", record_type, host, res) return res # no logcontexts here, so we can safely fire these off and gatherResults |