This is actually a useless error

This commit is contained in:
Asim 2016-01-07 01:58:38 +00:00
parent 76918fc703
commit 7401c44973

View File

@ -3,7 +3,6 @@ package client
import (
"errors"
"io"
"log"
"sync"
"golang.org/x/net/context"
@ -103,10 +102,6 @@ func (r *rpcStream) Recv(msg interface{}) error {
}
}
if r.err != nil && r.err != io.EOF && !r.isClosed() {
log.Println("rpc: client protocol error:", r.err)
}
return r.err
}