mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 12:08:52 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
This commit is contained in:
commit
df78784ede
@ -23,7 +23,7 @@ func rpcClientInterceptor(ctx context.Context, method string, req, resp interfac
|
|||||||
log.ZInfo(ctx, "rpc req", "req", "funcName", method, rpcString(req))
|
log.ZInfo(ctx, "rpc req", "req", "funcName", method, rpcString(req))
|
||||||
operationID, ok := ctx.Value(constant.OperationID).(string)
|
operationID, ok := ctx.Value(constant.OperationID).(string)
|
||||||
if !ok {
|
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")
|
return errs.ErrArgs.Wrap("ctx missing operationID")
|
||||||
}
|
}
|
||||||
md := metadata.Pairs(constant.OperationID, operationID)
|
md := metadata.Pairs(constant.OperationID, operationID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user