From b51024e70ab434f47b8ea60c6f36ce59f48a6b42 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 3 Nov 2022 09:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86err?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index b8ce1b353..077dbf78d 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1794,8 +1794,8 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor } } } - globals.SugarLogger.Debug("errList============%v", errList) - return num, errors.New(fmt.Sprintf("errList=%v,err=%v", errList, err)) + globals.SugarLogger.Debug("errList============%v", utils.Format4Output(errList, true)) + return num, errors.New(fmt.Sprintf("errList=%v,err=%v", utils.Format4Output(errList, true), err)) } func DeleteStore(ctx *jxcontext.Context, storeID int) (num int64, err error) {