This is actually a useless error
This commit is contained in:
		| @@ -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 | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user