Browse Source

Use Warn instead of Error on get prices error

feature/sql-semaphore1
Eduard S 3 years ago
parent
commit
e73499628c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      priceupdater/priceupdater.go

+ 1
- 1
priceupdater/priceupdater.go

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

Loading…
Cancel
Save