From dde874d7de5f1857a5d9951c81da5deb19a273d5 Mon Sep 17 00:00:00 2001 From: Uday Patil Date: Mon, 17 Apr 2023 14:32:01 -0500 Subject: [PATCH] [price-feeder] Change tick failure log to warning --- oracle/price-feeder/oracle/oracle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oracle/price-feeder/oracle/oracle.go b/oracle/price-feeder/oracle/oracle.go index 175d68cc7e..e7def918b0 100644 --- a/oracle/price-feeder/oracle/oracle.go +++ b/oracle/price-feeder/oracle/oracle.go @@ -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") }