propagate error

pull/1435/head
Darien Raymond 2018-11-14 19:17:11 +01:00
parent 16102271dd
commit 585608a796
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func NewChunkReader(reader io.Reader, auth *Authenticator) *ChunkReader {
func (v *ChunkReader) ReadMultiBuffer() (buf.MultiBuffer, error) {
size, err := serial.ReadUint16(v.reader)
if err != nil {
return nil, newError("failed to read size")
return nil, newError("failed to read size").Base(err)
}
size += AuthSize