1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +00:00

ssl_certificates: also forgot to catch free_tls_certificates.client.RateLimited

This commit is contained in:
Joshua Tauberer 2016-03-06 14:39:34 -05:00
parent f78f039776
commit 49ea9cddd1

View File

@ -365,7 +365,7 @@ def provision_certificates(env, agree_to_tos_url=None, logger=None, show_extende
"message": "Something unexpected went wrong. It looks like your local Let's Encrypt account data is corrupted. There was a problem with the file " + e.account_file_path + ".", "message": "Something unexpected went wrong. It looks like your local Let's Encrypt account data is corrupted. There was a problem with the file " + e.account_file_path + ".",
}) })
except (client.InvalidDomainName, client.NeedToTakeAction, client.ChallengeFailed, acme.messages.Error, requests.exceptions.RequestException) as e: except (client.InvalidDomainName, client.NeedToTakeAction, client.ChallengeFailed, client.RateLimited, acme.messages.Error, requests.exceptions.RequestException) as e:
ret_item.update({ ret_item.update({
"result": "error", "result": "error",
"message": "Something unexpected went wrong: " + str(e), "message": "Something unexpected went wrong: " + str(e),