From 4dce55859224bff696e6a0fcfa111c7d4e8e07a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Mon, 28 Jul 2025 18:27:09 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E7=B4=AF=E5=8A=A0=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E4=B8=8A=E7=9A=84=E9=94=99=E8=AF=AF=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AntJob.Server/Services/JobService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++;