Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
fix(postgres): log commit errors in labels transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 7, 2019
1 parent c0c2bc7 commit cc8f13e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions postgres/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ func (c *Client) WriteLabels(metrics Metrics) error {

err = txn.Commit()
if err != nil {
level.Error(c.logger).Log("msg", "error committing labels", "err", err)
return err
}

Expand Down

0 comments on commit cc8f13e

Please sign in to comment.