1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-24 19:22:07 +03:00

Push error message for send() function. This seems to be giving many people trouble

This commit is contained in:
James Kasten
2014-11-20 16:48:39 -08:00
parent b779bb0461
commit 36027477b1

View File

@@ -476,8 +476,10 @@ class Client(object):
body = response.content
acme_object_validate(body)
return response.json()
except:
except Exception as e:
logger.fatal("Send() failed... may have lost connection to server")
logger.fatal(" ** ERROR **")
logger.fatal(e)
sys.exit(8)
@@ -492,8 +494,8 @@ class Client(object):
idx = 0
if encrypt:
logger.error("Unfortunately securely storing the certificates/keys \
is not yet available. Stay tuned for the next update!")
logger.error("Unfortunately securely storing the certificates/" +
"keys is not yet available. Stay tuned for the next update!")
return False
if os.path.isfile(list_file):