Show and send error for pending certs

This commit is contained in:
Curtis Castrapel
2018-07-27 14:15:14 -07:00
parent 4fa8f9ecc0
commit 2a6dda07eb
5 changed files with 237 additions and 1 deletions

View File

@@ -300,11 +300,12 @@ class ACMEIssuerPlugin(IssuerPlugin):
"order": order,
"dns_provider_options": dns_provider_options,
})
except (ClientError, ValueError, Exception):
except (ClientError, ValueError, Exception) as e:
current_app.logger.error("Unable to resolve pending cert: {}".format(pending_cert), exc_info=True)
certs.append({
"cert": False,
"pending_cert": pending_cert,
"last_error": e,
})
for entry in pending: