summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2018-01-31 22:18:46 +0100
committerGitHub <noreply@github.com>2018-01-31 22:18:46 +0100
commit78e7e051885c37277a866235a426045840f5f2bc (patch)
tree01db0ee465641671edfa83488c9977d80b294e47
parentMerge pull request #2835 from matrix-org/rav/remove_event_type_param (diff)
parentRemove spurious log argument (diff)
downloadsynapse-78e7e051885c37277a866235a426045840f5f2bc.tar.xz
Merge pull request #2838 from matrix-org/rav/fix_logging_on_dns_fail
Remove spurious log argument
-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