Skip to content

Commit

Permalink
Log detail for type error in matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
nassibnassar committed Oct 8, 2024
1 parent 0f61cc5 commit 65ae5b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/metadb/server/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ func isCurrentIdenticalMatch(ctx context.Context, cmd *command.Command, tx *pgxp
b.WriteString(" LIMIT 1")
rows, err := tx.Query(ctx, b.String())
if err != nil {
log.Detail("%s", b.String())
return false, 0, fmt.Errorf("querying for matching current row: %v", err)
}
defer rows.Close()
Expand Down

0 comments on commit 65ae5b5

Please sign in to comment.