Add order URI during LE cert creation failure; Fail properly when invalid CA passed; Update reqs

This commit is contained in:
Curtis Castrapel
2019-03-25 08:28:23 -07:00
parent cfe0595918
commit c2158ff8fb
6 changed files with 52 additions and 48 deletions

View File

@ -459,7 +459,10 @@ class ACMEIssuerPlugin(IssuerPlugin):
"pending_cert": entry["pending_cert"],
})
except (PollError, AcmeError, Exception) as e:
current_app.logger.error("Unable to resolve pending cert: {}".format(pending_cert), exc_info=True)
order_url = order.uri
current_app.logger.error(
"Unable to resolve pending cert: {}. "
"Check out {} for more information.".format(pending_cert, order_url), exc_info=True)
certs.append({
"cert": False,
"pending_cert": entry["pending_cert"],