Remove spurious log argument

... which would cause scary-looking and unhelpful errors in the log on dns fail
This commit is contained in:
Richard van der Hoff 2018-01-30 17:52:03 +00:00
parent 4c65b98e4a
commit af19f5e9aa

View File

@ -357,8 +357,7 @@ def _get_hosts_for_srv_record(dns_client, host):
def eb(res, record_type): def eb(res, record_type):
if res.check(DNSNameError): if res.check(DNSNameError):
return [] return []
logger.warn("Error looking up %s for %s: %s", logger.warn("Error looking up %s for %s: %s", record_type, host, res)
record_type, host, res, res.value)
return res return res
# no logcontexts here, so we can safely fire these off and gatherResults # no logcontexts here, so we can safely fire these off and gatherResults