mirror of
https://git.dn42.dev/dn42/registry.git
synced 2026-02-13 22:52:18 +08:00
Fix TypeError in validate-my-dns.py
``` TypeError: _handle_unknown_error() missing 2 required positional arguments: 'nserver' and 'domain_name' ```
This commit is contained in:
parent
e5c3c82453
commit
c46ae22e7d
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ def get_soa(domain_name, nserver):
|
|||
summary[domain_name][SUMMARY.SERVFAIL] += 1
|
||||
return False
|
||||
except Exception as e:
|
||||
return _handle_unknown_error(e)
|
||||
return _handle_unknown_error(e, nserver=nserver, domain_name=domain_name)
|
||||
# raise e
|
||||
if response[0].rcode() != 0:
|
||||
# HANDLE QUERY FAILED (SERVER ERROR OR NO SOA RECORD)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue