Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamza15 committed Jan 27, 2025
1 parent 4063bf9 commit c84e1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletserver/tabletserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1560,8 +1560,8 @@ func (tsv *TabletServer) execRequest(
}()

err = exec(ctx, logStats)
log.Errorf("============================ EXEC ERROR: %s", err.Error())
if err != nil {
log.Errorf("============================ EXEC ERROR: %s", err.Error())
return tsv.convertAndLogError(ctx, sql, bindVariables, err, logStats)
}
return nil
Expand Down

0 comments on commit c84e1cf

Please sign in to comment.