feat 错误码
This commit is contained in:
@@ -27,7 +27,6 @@ func NewGrpcConnection(sid string, address string) (*GrpcConnection, error) {
|
||||
PermitWithoutStream: true,
|
||||
},
|
||||
),
|
||||
//grpc.WithStatsHandler(&StatsHandler{}),
|
||||
)
|
||||
if err != nil {
|
||||
log.Errorf("create grpc err: %v, sid: %v, addr: %v", err, sid, address)
|
||||
|
||||
@@ -20,7 +20,6 @@ func NewGrpcConnection(target string) (*grpc.ClientConn, error) {
|
||||
PermitWithoutStream: true,
|
||||
},
|
||||
),
|
||||
//grpc.WithStatsHandler(&StatsHandler{}),
|
||||
)
|
||||
if err != nil {
|
||||
log.Errorf("create grpc err: %v, target: %v", err, target)
|
||||
|
||||
Reference in New Issue
Block a user