- FreeBatchStoreSkuInfo与FreeBatchStoreSkuSyncInfo添加任务名

This commit is contained in:
gazebo
2019-08-07 14:15:30 +08:00
parent cef5be3e06
commit 8768fe8236
7 changed files with 33 additions and 24 deletions

View File

@@ -44,9 +44,7 @@ func (task *SeqTask) Run() {
if err != nil {
// globals.SugarLogger.Infof("SeqTask.Run %s step:%d failed with error:%v", task.Name, i, err)
if task.IsContinueWhenError {
task.locker.Lock()
task.batchErrList = append(task.batchErrList, err)
task.locker.Unlock()
task.AddBatchErr(err)
} else {
taskErr = err
break