mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
log update
This commit is contained in:
parent
85b6f00b66
commit
0c5e5207e6
@ -23,7 +23,7 @@ func rpcClientInterceptor(ctx context.Context, method string, req, resp interfac
|
||||
log.ZInfo(ctx, "rpc client req", "req", "funcName", method, rpcString(req))
|
||||
operationID, ok := ctx.Value(constant.OperationID).(string)
|
||||
if !ok {
|
||||
log.ZWarn(ctx, "ctx missing operationID", errors.New("ctx missing operationID"))
|
||||
log.ZWarn(ctx, "ctx missing operationID", errors.New("ctx missing operationID"), "funcName", method)
|
||||
return errs.ErrArgs.Wrap("ctx missing operationID")
|
||||
}
|
||||
md := metadata.Pairs(constant.OperationID, operationID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user