mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +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
|
||||
}
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user