From 7401c44973985765a5b4576aa776f35915c99121 Mon Sep 17 00:00:00 2001 From: Asim Date: Thu, 7 Jan 2016 01:58:38 +0000 Subject: [PATCH] This is actually a useless error --- client/rpc_stream.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client/rpc_stream.go b/client/rpc_stream.go index 0f40b93f..c5937b49 100644 --- a/client/rpc_stream.go +++ b/client/rpc_stream.go @@ -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 }