diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 03872bbb7..c259552d4 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -419,7 +419,7 @@ func BatchInitSkuMT2MT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi errList = append(errList, failedFoodList...) for _, ffl := range failedFoodList { if nameList[ffl.AppFoodCode] != "" { - globals.SugarLogger.Debugf("name := %s", nameList[ffl.AppFoodCode]) + globals.SugarLogger.Debugf("name := %s,err := %s", nameList[ffl.AppFoodCode], ffl.ErrorMsg) } } } @@ -429,7 +429,7 @@ func BatchInitSkuMT2MT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi errList = append(errList, failedFoodList...) for _, ffl := range failedFoodList { if nameList[ffl.AppFoodCode] != "" { - globals.SugarLogger.Debugf("name := %s", nameList[ffl.AppFoodCode]) + globals.SugarLogger.Debugf("name := %s,err := %s", nameList[ffl.AppFoodCode], ffl.ErrorMsg) } } }