diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2018-01-31 22:18:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-31 22:18:46 +0100 |
commit | 78e7e051885c37277a866235a426045840f5f2bc (patch) | |
tree | 01db0ee465641671edfa83488c9977d80b294e47 | |
parent | Merge pull request #2835 from matrix-org/rav/remove_event_type_param (diff) | |
parent | Remove spurious log argument (diff) | |
download | synapse-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.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 |