mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Update certbot/certbot/plugins/dns_common_lexicon.py
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
This commit is contained in:
parent
1e48583fa5
commit
93e25880f6
1 changed files with 2 additions and 0 deletions
|
|
@ -242,6 +242,8 @@ class LexiconDNSAuthenticator(dns_common.DNSAuthenticator):
|
|||
|
||||
for domain_name in domain_name_guesses:
|
||||
try:
|
||||
# Using client as a context manager requires `dns-lexicon>=3.14` and we may want to
|
||||
# provide better checks and error handling around this in the future.
|
||||
with Client(self._build_lexicon_config(domain_name)):
|
||||
return domain_name
|
||||
except HTTPError as e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue