mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
dont silence dns errors
This commit is contained in:
parent
380bccacf0
commit
8ae64064b6
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
records, validated = dnssec.query(url, dns.rdatatype.TXT)
|
||||
prefix = 'btc'
|
||||
for record in records:
|
||||
string = record.strings[0]
|
||||
|
|
Loading…
Add table
Reference in a new issue