From e73499628c98f056817fb96e589edad4aaea9aa0 Mon Sep 17 00:00:00 2001 From: Eduard S Date: Mon, 1 Feb 2021 11:19:10 +0100 Subject: [PATCH] Use Warn instead of Error on get prices error --- priceupdater/priceupdater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priceupdater/priceupdater.go b/priceupdater/priceupdater.go index 75ae273..b0d7d49 100644 --- a/priceupdater/priceupdater.go +++ b/priceupdater/priceupdater.go @@ -94,7 +94,7 @@ func (p *PriceUpdater) UpdatePrices(ctx context.Context) { return } if err != nil { - log.Errorw("token price not updated (get error)", + log.Warnw("token price not updated (get error)", "err", err, "token", tokenSymbol, "apiType", p.apiType) } if err = p.db.UpdateTokenValue(tokenSymbol, tokenPrice); err != nil {