remove debug logging
This commit is contained in:
7
call.go
7
call.go
@ -34,14 +34,14 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"io"
|
||||||
|
"net"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
"google.golang.org/grpc/metadata"
|
"google.golang.org/grpc/metadata"
|
||||||
"google.golang.org/grpc/transport"
|
"google.golang.org/grpc/transport"
|
||||||
"io"
|
|
||||||
"log"
|
|
||||||
"net"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// recv receives and parses an RPC response.
|
// 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)
|
t.CloseStream(stream, lastErr)
|
||||||
if lastErr != nil {
|
if lastErr != nil {
|
||||||
log.Println("exit 5: ", lastErr)
|
|
||||||
return toRPCErr(lastErr)
|
return toRPCErr(lastErr)
|
||||||
}
|
}
|
||||||
return Errorf(stream.StatusCode(), stream.StatusDesc())
|
return Errorf(stream.StatusCode(), stream.StatusDesc())
|
||||||
|
Reference in New Issue
Block a user