change: reduce error severity

This commit is contained in:
Yiyang Kang 2024-05-07 22:26:20 +09:00
parent 2617881130
commit bbf085c76b
Signed by: kkyy
GPG Key ID: 80FD317ECAF06CC3
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ var exchangeRates = mycurrencynet.New()
func initExchangeRates() { func initExchangeRates() {
if err := exchangeRates.Update(); err != nil { 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") logger.Info("Exchange rates updated")