Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

status: handle errors when writing output #1410

Closed
darkowlzz opened this issue Nov 28, 2017 · 1 comment · Fixed by #1420
Closed

status: handle errors when writing output #1410

darkowlzz opened this issue Nov 28, 2017 · 1 comment · Fixed by #1420

Comments

@darkowlzz
Copy link
Collaborator

The outputters in status.go are ignoring the error returned while writing the output. These errors should be handled and not ignored. Some of the functions that are returning error are fmt.Fprintf(), json.Encoder.Encode() and template.Template.Execute().

@JamieCrisman
Copy link
Contributor

I'd like to tackle this one if it's okay. If I don't have anything by mid-next I'll release it for someone else to take.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants