Merge pull request #516 from hermeznetwork/feature/priceserrwarn

Use Warn instead of Error on get prices error
This commit is contained in:
arnau
2021-02-01 12:03:02 +01:00
committed by GitHub

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 {