Commit 3fd3e6f3 authored by keks's avatar keks

legacy don't ignore errors returned by Next

parent fa56753b
......@@ -62,8 +62,8 @@ func (rw *responseWrapper) Output() interface{} {
if err == io.EOF {
return
}
if e, ok := v.(*cmdkit.Error); ok || err != nil {
log.Error(e, err)
if err != nil {
log.Error(err)
return
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment