forked from certbot/certbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[certbot#4535] - Unwrap 'max retries exceeded' errors (certbot#4733)
Fixes certbot#4535 Extracts the relevant fields using a regex. We considered catching specific exception types, and referencing their fields, but the types raised by `requests` are not well documented and may not be long term stable. If the regex fails to match, for instance due to a change in the exception message, the new exception message will just be passed through.
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters