mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-12 14:51:14 +08:00
rpc mv
This commit is contained in:
parent
6f3b4a9f02
commit
2073c4bf46
@ -96,6 +96,7 @@ func RpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
|
|||||||
log.ZInfo(ctx, "rpc server resp", "funcName", funcName, "resp", rpcString(resp))
|
log.ZInfo(ctx, "rpc server resp", "funcName", funcName, "resp", rpcString(resp))
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
log.ZError(ctx, "rpc server resp", err, "funcName", funcName)
|
||||||
unwrap := errs.Unwrap(err)
|
unwrap := errs.Unwrap(err)
|
||||||
codeErr := specialerror.ErrCode(unwrap)
|
codeErr := specialerror.ErrCode(unwrap)
|
||||||
if codeErr == nil {
|
if codeErr == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user