This commit is contained in:
richboo111
2022-10-10 16:44:15 +08:00
parent 2e2a4f0f28
commit 02a053b892

View File

@@ -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)))
}
}