summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-30 17:52:03 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-30 17:52:03 +0000
commitaf19f5e9aa47dd9875df3937d514ae7708eed539 (patch)
treeb0547f5689669535bf9497408b0bbad450198a40
parentMerge pull request #2831 from matrix-org/rav/fix-userdir-search-again (diff)
downloadsynapse-af19f5e9aa47dd9875df3937d514ae7708eed539.tar.xz
Remove spurious log argument
... which would cause scary-looking and unhelpful errors in the log on dns fail
Diffstat (limited to '')
-rw-r--r--synapse/http/endpoint.py3
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