Skip to content

Commit 868a7f4

Browse files
committed
fix(client): log python requests errors
1 parent 6884604 commit 868a7f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/deis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2034,8 +2034,8 @@ def _dispatch_cmd(method, args):
20342034
try:
20352035
method(args)
20362036
except requests.exceptions.ConnectionError as err:
2037-
logger.error("Couldn't connect to the Deis Controller. Make sure that the Controller URI is \
2038-
correct and the server is running.")
2037+
logger.error("Couldn't connect to the Deis Controller:\n{}\nMake sure that the Controller URI is \
2038+
correct and the server is running.".format(err))
20392039
sys.exit(1)
20402040
except EnvironmentError as err:
20412041
logger.error(err.args[0])

0 commit comments

Comments
 (0)