reproio / columnify

Make record oriented data to columnar format.
Apache License 2.0
38 stars 6 forks source link

Capture the first error caused by columnifier #49

Closed syucream closed 4 years ago

syucream commented 4 years ago

It possible overwrites a concrete error with nil. In such case, we will lose a chance to detect errors at the writer func. For now, as @itchyny said, I make this place not to capture a return value by Close() if err is already set. https://github.com/reproio/columnify/pull/18#discussion_r449481507