mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
[#4535] - Unwrap max retries exceeded errors
This commit is contained in:
@@ -643,7 +643,6 @@ class ClientNetwork(object): # pylint: disable=too-many-instance-attributes
|
||||
object at 0x108356c50>: Failed to establish a new connection:
|
||||
[Errno 65] No route to host',))"""
|
||||
|
||||
print e.message
|
||||
# pylint: disable=line-too-long
|
||||
err_regex = r".*host='(\S*)'.*Max retries exceeded with url\: (\/\w*).*(\[Errno \d+\])([A-Za-z ]*)"
|
||||
m = re.match(err_regex, str(e))
|
||||
|
||||
Reference in New Issue
Block a user