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

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

View File

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