同步统一返回错误增加判断(尝试)

This commit is contained in:
苏尹岚
2020-01-10 14:32:09 +08:00
parent a643a324d2
commit 165e5b08d1

View File

@@ -457,7 +457,9 @@ func (v *VendorSync) SyncStoresSkus2(ctx *jxcontext.Context, parentTask tasksch.
return nil, partner.AddVendorInfo2Err(err, loopMapInfo.VendorID)
}, isContinueWhenError)
if task != nil {
err = makeSyncError(err)
if err != nil {
err = makeSyncError(err)
}
}
return hint, err
}