- only clear sync status when SkuShopCategoryMap succeeded
- and DetailErrList for tasksch.
This commit is contained in:
@@ -45,6 +45,9 @@ func (task *SeqTask) Run() {
|
||||
if !task.IsContinueWhenError {
|
||||
break
|
||||
}
|
||||
task.locker.Lock()
|
||||
task.DetailErrList = append(task.DetailErrList, err)
|
||||
task.locker.Unlock()
|
||||
} else if result != nil {
|
||||
taskResult = append(taskResult, utils.Interface2Slice(result)...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user