We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cdba92 commit 7b1cc2cCopy full SHA for 7b1cc2c
1 file changed
client/deis.py
@@ -2028,6 +2028,10 @@ def main():
2028
# dispatch the CLI command
2029
try:
2030
method(args)
2031
+ except requests.exceptions.ConnectionError as err:
2032
+ print("Couldn't connect to the Deis Controller. Make sure that the Controller URI is \
2033
+correct and the server is running.")
2034
+ sys.exit(1)
2035
except EnvironmentError as err:
2036
raise DocoptExit(err.message)
2037
except ResponseError as err:
0 commit comments