From bbf085c76bcbd797e83a239fbc5234d0756cd94e Mon Sep 17 00:00:00 2001 From: Yiyang Kang Date: Tue, 7 May 2024 22:26:20 +0900 Subject: [PATCH] change: reduce error severity --- botcmd_exchangerates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botcmd_exchangerates.go b/botcmd_exchangerates.go index 4e09e35..3825216 100644 --- a/botcmd_exchangerates.go +++ b/botcmd_exchangerates.go @@ -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")