change: reduce error severity
This commit is contained in:
parent
2617881130
commit
bbf085c76b
|
@ -18,7 +18,7 @@ var exchangeRates = mycurrencynet.New()
|
|||
|
||||
func initExchangeRates() {
|
||||
if err := exchangeRates.Update(); err != nil {
|
||||
logger.Panicw("Failed to update exchange rates", "err", err)
|
||||
logger.Errorw("Failed to update exchange rates", "err", err)
|
||||
}
|
||||
logger.Info("Exchange rates updated")
|
||||
|
||||
|
|
Loading…
Reference in New Issue