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

Remove error-wrapping from log messages #980

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

nfnt
Copy link
Member

@nfnt nfnt commented Oct 21, 2019

What this PR does / why we need it:
Wrapping errors in log messages results in structs showing up in the printed
text. Instead of '%w', '%v' is used instead which gives the expected results.

Fixes #940

Wrapping errors in log messages results in structs showing up in the printed
text. Instead of '%w', '%v' is used instead which gives the expected results.
@nfnt nfnt requested a review from alenkacz October 21, 2019 12:44
@nfnt nfnt self-assigned this Oct 21, 2019
@nfnt nfnt merged commit 7b586e4 into master Oct 22, 2019
@nfnt nfnt deleted the nfnt/dont-wrap-errors-in-logging branch October 22, 2019 07:03
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

Successfully merging this pull request may close these issues.

'kubectl kudo plan history' fails on non-existent instances
2 participants