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 ( import (
"errors" "errors"
"io" "io"
"log"
"sync" "sync"
"golang.org/x/net/context" "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 return r.err
} }