Skip to content

Commit

Permalink
add err
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Elliott <[email protected]>
  • Loading branch information
joe-elliott committed Oct 31, 2024
1 parent e57ca0a commit 7db4f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/generator/processor/localblocks/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func (p *Processor) flushLoop() {

err := p.flushBlock(op.blockID)
if err != nil {
_ = level.Info(p.logger).Log("msg", "re-queueing block for flushing", "block", op.blockID, "attempts", op.attempts)
_ = level.Info(p.logger).Log("msg", "re-queueing block for flushing", "block", op.blockID, "attempts", op.attempts, "err", err)
metricFailedFlushes.Inc()

delay := op.backoff()
Expand Down

0 comments on commit 7db4f37

Please sign in to comment.