0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 02:23:49 +01:00

Merge pull request #2838 from matrix-org/rav/fix_logging_on_dns_fail

Remove spurious log argument
This commit is contained in:
Richard van der Hoff 2018-01-31 22:18:46 +01:00 committed by GitHub
commit 78e7e05188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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