|
|
|
@ -41,6 +41,8 @@ func rpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
|
|
|
|
|
opUserID = opts[0]
|
|
|
|
|
}
|
|
|
|
|
ctx = tracelog.SetFuncInfos(ctx, funcName, operationID)
|
|
|
|
|
ctx = context.WithValue(ctx, OperationID, operationID)
|
|
|
|
|
ctx = context.WithValue(ctx, OpUserID, opUserID)
|
|
|
|
|
tracelog.SetCtxInfo(ctx, funcName, err, "opUserID", opUserID, "rpcReq", rpcString(req))
|
|
|
|
|
resp, err = handler(ctx, req)
|
|
|
|
|
if err != nil {
|
|
|
|
|