Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formatting of error message #231

Open
errordeveloper opened this issue Jun 15, 2018 · 1 comment
Open

formatting of error message #231

errordeveloper opened this issue Jun 15, 2018 · 1 comment

Comments

@errordeveloper
Copy link
Contributor

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
Copy link
Contributor Author

errordeveloper commented Jul 10, 2018

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>

@errordeveloper errordeveloper changed the title new lines and dots at the start of a line formatting of error message Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant