weaveworks / launcher

Weave Cloud Launcher
Apache License 2.0
10 stars 13 forks source link

formatting of error message #231

Open errordeveloper opened 6 years ago

errordeveloper commented 6 years ago

Error message look a little messy:

Downloading the Weave Cloud installer...  
Preparing for Weave Cloud setup
Checking kubectl & kubernetes versions
Error checking your kubernetes server version: error: You must be logged in to the server (the server has asked for the client to provide credentials)
. Please check that you can connect to your cluster by running "kubectl version".

I'd get rid of new lines. I also was quite pleased using golang.org/pkg/errors/ in another project, so I'd recommend having a look at it.

errordeveloper commented 6 years ago

I'm also seeing no new lines in this particular case:

There was an error while performing a DNS check: timed out during DNS check. Please check that your cluster can download images and run pods.<myprompt>