mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-01 15:18:59 +08:00
test
This commit is contained in:
parent
bc2ae99ba7
commit
9645d16b2d
@ -45,6 +45,7 @@ func rpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
|
||||
resp, err = handler(ctx, req)
|
||||
if err != nil {
|
||||
tracelog.SetCtxInfo(ctx, funcName, err)
|
||||
log.Info("", "rpc come here,in rpc call,err:", err.Error())
|
||||
return nil, rpcErrorToCode(err).Err()
|
||||
}
|
||||
tracelog.SetCtxInfo(ctx, funcName, nil, "rpcResp", rpcString(resp))
|
||||
|
Loading…
x
Reference in New Issue
Block a user