Skip to content

Commit

Permalink
[price-feeder] Change tick failure log to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Apr 17, 2023
1 parent bd21894 commit dde874d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oracle/price-feeder/oracle/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (o *Oracle) Start(ctx context.Context) error {
err = o.tick(ctx, clientCtx, currBlockHeight)
if err != nil {
telemetry.IncrCounter(1, "failure", "tick")
o.logger.Err(err).Msg(fmt.Sprintf("Oracle tick failed for height %d", currBlockHeight))
o.logger.Warn().Msg(fmt.Sprintf("Oracle tick failed for height %d, err: %s", currBlockHeight, err.Error()))
} else {
telemetry.IncrCounter(1, "success", "tick")
}
Expand Down

0 comments on commit dde874d

Please sign in to comment.