Skip to content

Commit

Permalink
Make connection endpoint not found error message more explicit (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christina-Kang committed May 10, 2018
1 parent b14ca92 commit b224201
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sfctl/apiclient.py
Expand Up @@ -20,7 +20,9 @@ def create(_):
endpoint = client_endpoint()

if not endpoint:
raise CLIError("Connection endpoint not found")
raise CLIError("Connection endpoint not found. "
"Before running sfctl commands, connect to a cluster using "
"the 'sfctl cluster select' command.")

no_verify = no_verify_setting()

Expand Down

0 comments on commit b224201

Please sign in to comment.