From 3882eb29cafbdc3e32bf1b4134d36b51d7fef212 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Fri, 13 Mar 2015 00:19:56 -0700 Subject: [PATCH] remove debug logging --- call.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/call.go b/call.go index 5b03a3f5..13c8b821 100644 --- a/call.go +++ b/call.go @@ -34,14 +34,14 @@ package grpc import ( + "io" + "net" + "github.com/golang/protobuf/proto" "golang.org/x/net/context" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/transport" - "io" - "log" - "net" ) // recv receives and parses an RPC response. @@ -167,7 +167,6 @@ func Invoke(ctx context.Context, method string, args, reply proto.Message, cc *C } t.CloseStream(stream, lastErr) if lastErr != nil { - log.Println("exit 5: ", lastErr) return toRPCErr(lastErr) } return Errorf(stream.StatusCode(), stream.StatusDesc())