mirror of
https://git.dn42.dev/dn42/registry.git
synced 2026-01-12 15:26:25 +08:00
Merge pull request 'Fix TypeError in validate-my-dns.py' (#5715) from myzhang1029/registry:master into master
Reviewed-on: https://git.dn42.dev/dn42/registry/pulls/5715 Reviewed-by: schema-checker <schema-checker@noreply.dn42.dev>
This commit is contained in:
commit
32a0233a2d
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