diff --git a/common/buf/multi_buffer.go b/common/buf/multi_buffer.go index 6537c6dd..a3b639fc 100644 --- a/common/buf/multi_buffer.go +++ b/common/buf/multi_buffer.go @@ -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 } }