diff --git a/AntJob.Server/Services/JobService.cs b/AntJob.Server/Services/JobService.cs index 10f9e61..a0dc45d 100644 --- a/AntJob.Server/Services/JobService.cs +++ b/AntJob.Server/Services/JobService.cs @@ -464,7 +464,8 @@ public class JobService(AppService appService, ICacheProvider cacheProvider, ITr { task.Times++; task.Error++; - //ji.Message = err.Message; + + job.Error++; SetJobError(job, task, online.UpdateIP); @@ -512,7 +513,6 @@ public class JobService(AppService appService, ICacheProvider cacheProvider, ITr job.Total += task.Total; job.Success += task.Success; - //job.Error += task.Error; job.Times++; if (task.Status == JobStatus.错误) job.Error++;