zwxi 1 vuosi sitten
vanhempi
commit
4b7d1c62e4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      services/fms/currency_rate.go

+ 1 - 1
services/fms/currency_rate.go

@@ -92,7 +92,7 @@ func CurlCurrencyRateApi() (resList []*CurrencyRateItem, err error) {
 		item.Rate = f
 		t, e := time.ParseInLocation(utils.FormatDateTime, v.UpdateTime, time.Local)
 		if e != nil {
-			err = fmt.Errorf("rate api time parse err: %v", e)
+			global.LOG.Errorf("rate api time parse err:", e)
 			continue
 		}
 		item.UpdateTime = t