Skip to content

Commit

Permalink
remove print tableParam
Browse files Browse the repository at this point in the history
  • Loading branch information
GroundWu committed Jul 18, 2024
1 parent 67e4707 commit b5bff8f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions client/obclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,14 +615,9 @@ func (c *obClient) execute(
// 1. Get table route
tableParam, err := c.GetTableParam(ctx, tableName, rowKey)
if err != nil {
tableParamStr := "nil"
if tableParam != nil {
tableParamStr = tableParam.String()
}
isOdpMode := c.odpTable != nil
log.Error("Runtime", ctx.Value(log.ObkvTraceIdName), "error occur in execute",
log.Int64("opType", int64(opType)), log.String("tableName", tableName), log.String("tableParam", tableParamStr),
log.Bool("isOdpMode", isOdpMode))
log.Int64("opType", int64(opType)), log.String("tableName", tableName), log.Bool("isOdpMode", isOdpMode))
return nil, errors.WithMessagef(err, "get table param, tableName:%s, opType:%d, isOdpMode:%v", tableName, opType, isOdpMode), needRetry
}

Expand Down

0 comments on commit b5bff8f

Please sign in to comment.