Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei authored and ti-chi-bot committed Sep 9, 2021
1 parent 6b15501 commit 28f5d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/sink/codec/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (c *column) FromSinkColumn(col *model.Column) {
case string:
str = col.Value.(string)
default:
log.Panic("invalid column value, please report a bug", zap.Any("col", c))
log.Panic("invalid column value, please report a bug", zap.Any("col", col))
}
if c.Flag.IsBinary() {
str = strconv.Quote(str)
Expand Down

0 comments on commit 28f5d9f

Please sign in to comment.