同步错误

This commit is contained in:
苏尹岚
2020-01-07 14:25:39 +08:00
parent 540209eadc
commit 6c935643ae

View File

@@ -637,6 +637,9 @@ func (v *VendorSync) LoopStoresMap2(ctx *jxcontext.Context, db *dao.DaoDB, taskN
tasksch.HandleTask(task, nil, isManageIt).Run()
if !isAsync {
resultList, err2 := task.GetResult(0)
if err2 != nil {
err2 = errors.New(utils.Format4Output(task.GetErrMsg(), true))
}
if err = err2; err == nil {
if len(resultList) == 0 {
hint = "1" // todo 暂时这样