return correct error

pull/1869/head^2
Darien Raymond 6 years ago
parent d670629651
commit c72d853454
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -204,7 +204,7 @@ func WriteMultiBuffer(writer io.Writer, mb MultiBuffer) (MultiBuffer, error) {
_, err := writer.Write(b.Bytes())
b.Release()
if err != nil {
return mb, nil
return mb, err
}
}

Loading…
Cancel
Save