Debug log registration errors.

This commit is contained in:
Jakub Warmuz
2015-06-25 19:45:01 +00:00
parent 3ade1d13f3
commit 60b6834ab0
+2 -1
View File
@@ -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