dont silence dns errors

This commit is contained in:
ThomasV 2015-07-31 21:56:22 +02:00
parent 380bccacf0
commit 8ae64064b6
1 changed files with 1 additions and 4 deletions

View File

@ -40,10 +40,7 @@ class Contacts(StoreDict):
def resolve_openalias(self, url):
# support email-style addresses, per the OA standard
url = url.replace('@', '.')
try:
records, validated = dnssec.query(url, dns.rdatatype.TXT)
except:
return
prefix = 'btc'
for record in records:
string = record.strings[0]