- only clear sync status when SkuShopCategoryMap succeeded

- and DetailErrList for tasksch.
This commit is contained in:
gazebo
2018-10-27 10:22:25 +08:00
parent 0397729aa0
commit 970e8dc7b2
4 changed files with 24 additions and 9 deletions

View File

@@ -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)...)
}