Use Warn instead of Error on get prices error

This commit is contained in:
Eduard S
2021-02-01 11:19:10 +01:00
parent 8cc23b9fb2
commit e73499628c

View File

@@ -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 {