同步错误返回修改:从task中获取failedList才返回新的同步错
This commit is contained in:
@@ -457,9 +457,7 @@ func (v *VendorSync) SyncStoresSkus2(ctx *jxcontext.Context, parentTask tasksch.
|
|||||||
return nil, partner.AddVendorInfo2Err(err, loopMapInfo.VendorID)
|
return nil, partner.AddVendorInfo2Err(err, loopMapInfo.VendorID)
|
||||||
}, isContinueWhenError)
|
}, isContinueWhenError)
|
||||||
if task != nil {
|
if task != nil {
|
||||||
if err != nil {
|
err = makeSyncError(err)
|
||||||
err = makeSyncError(err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return hint, err
|
return hint, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user