From 02a053b8920b10b962e31766e2cbd603a5afa002 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 10 Oct 2022 16:44:15 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tiktok_store/store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/partner/purchase/tiktok_store/store.go b/business/partner/purchase/tiktok_store/store.go index 9dab9b7d6..dd6fb84c3 100644 --- a/business/partner/purchase/tiktok_store/store.go +++ b/business/partner/purchase/tiktok_store/store.go @@ -201,8 +201,8 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri if err != nil { errList.AddErr(fmt.Errorf("db update storeID,vendorStoreID defeat on :%v", err)) } - globals.SugarLogger.Debug("CreateStore last step success..................but errList====%v", errList) - return storeIDs, errors.New(fmt.Sprintf("%+v", errList)) + globals.SugarLogger.Debugf("CreateStore last step success..................but errList====%s", utils.Format4Output(errList, true)) + return storeIDs, errors.New(fmt.Sprintf("%s", utils.Format4Output(errList, true))) } }