Skip to content
Snippets Groups Projects
Commit af19f5e9 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Remove spurious log argument

... which would cause scary-looking and unhelpful errors in the log on dns fail
parent 4c65b98e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment