同步错误
This commit is contained in:
@@ -629,6 +629,7 @@ func (v *VendorSync) LoopStoresMap2(ctx *jxcontext.Context, db *dao.DaoDB, taskN
|
|||||||
task.SetFinishHook(func(task tasksch.ITask, ctx *jxcontext.Context) {
|
task.SetFinishHook(func(task tasksch.ITask, ctx *jxcontext.Context) {
|
||||||
if len(task.GetErrMsg()) > 10 {
|
if len(task.GetErrMsg()) > 10 {
|
||||||
err = WirteToExcelBySyncFailed(task, ctx)
|
err = WirteToExcelBySyncFailed(task, ctx)
|
||||||
|
err = buildErrMsg(task)
|
||||||
} else {
|
} else {
|
||||||
err = buildErrMsg(task)
|
err = buildErrMsg(task)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user