diff --git a/IRaCIS.Core.Application/Service/Common/TrialImageDownloadService.cs b/IRaCIS.Core.Application/Service/Common/TrialImageDownloadService.cs index ecb1b2a63..07c6b41a6 100644 --- a/IRaCIS.Core.Application/Service/Common/TrialImageDownloadService.cs +++ b/IRaCIS.Core.Application/Service/Common/TrialImageDownloadService.cs @@ -915,7 +915,8 @@ namespace IRaCIS.Core.Application.Service catch (Exception ex) { - var errorMsg = $"{DateTime.Now}❌ 失败: {ex.Message}"; + var errorMsg = $"{DateTime.Now} ❌ 失败: {ex.Message} | InstanceId={item.InstanceId}, Path={item.Path}"; + Console.WriteLine(errorMsg); await File.AppendAllTextAsync(outputErrorFile, errorMsg + Environment.NewLine); @@ -926,7 +927,7 @@ namespace IRaCIS.Core.Application.Service double percent = processed * 100.0 / total; // 每提升 5% 或完成时输出 - if (percent - lastPercent >= 5.0 || processed == total) + if (percent - lastPercent >= 2.0 || processed == total) { lastPercent = percent; Console.WriteLine($"{DateTime.Now} 进度: {processed}/{total} ({percent:F2}%)");