From e0378d85bef5103e1901a7b970b581eabcb26f22 Mon Sep 17 00:00:00 2001 From: TripleZ Date: Sun, 15 Sep 2024 17:35:57 +0800 Subject: [PATCH] chore: fix lint --- pkg/analyser/wechat/wechat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/analyser/wechat/wechat.go b/pkg/analyser/wechat/wechat.go index f854d3b..f3912c6 100644 --- a/pkg/analyser/wechat/wechat.go +++ b/pkg/analyser/wechat/wechat.go @@ -93,13 +93,13 @@ func (w Wechat) GetAccountsAndTags(o *ir.Order, cfg *config.Config, target, prov if r.Time != nil { match, err = util.SplitFindTimeInterval(*r.Time, o.PayTime, match) if err != nil { - log.Fatalf(err.Error()) + log.Fatalf("Error in SplitFindTimeInterval: %v", err) } } if r.TimestampRange != nil { match, err = util.SplitFindTimeStampInterval(*r.TimestampRange, o.PayTime, match) if err != nil { - log.Fatalf(err.Error()) + log.Fatalf("Error in SplitFindTimeStampInterval: %v", err) } } if r.MinPrice != nil && o.Money < *r.MinPrice {