mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Use Warn instead of Error on get prices error
This commit is contained in:
@@ -94,7 +94,7 @@ func (p *PriceUpdater) UpdatePrices(ctx context.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if err != nil {
|
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)
|
"err", err, "token", tokenSymbol, "apiType", p.apiType)
|
||||||
}
|
}
|
||||||
if err = p.db.UpdateTokenValue(tokenSymbol, tokenPrice); err != nil {
|
if err = p.db.UpdateTokenValue(tokenSymbol, tokenPrice); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user