mirror of
https://github.com/certbot/certbot.git
synced 2026-07-25 23:29:26 +02:00
Debug log registration errors.
This commit is contained in:
+2
-1
@@ -112,7 +112,8 @@ def _init_acme(config, acc, authenticator, installer):
|
||||
if acc.regr is None:
|
||||
try:
|
||||
acme.register()
|
||||
except errors.LetsEncryptClientError:
|
||||
except errors.LetsEncryptClientError as error:
|
||||
logging.debug(error)
|
||||
sys.exit("Unable to register an account with ACME server")
|
||||
|
||||
return acme
|
||||
|
||||
Reference in New Issue
Block a user