From 580d61acae94ae36e15946f39519f0fe6c5119b3 Mon Sep 17 00:00:00 2001 From: SONG Tian Date: Mon, 1 Jun 2026 01:18:06 +0000 Subject: [PATCH] =?UTF-8?q?Updated=20ReconstructionNotifyService.cs=20=20?= =?UTF-8?q?=E7=BC=96=E8=AF=91bug=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- XP.Scan/Services/ReconstructionNotifyService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XP.Scan/Services/ReconstructionNotifyService.cs b/XP.Scan/Services/ReconstructionNotifyService.cs index 87b4720..acc88ab 100644 --- a/XP.Scan/Services/ReconstructionNotifyService.cs +++ b/XP.Scan/Services/ReconstructionNotifyService.cs @@ -61,11 +61,11 @@ namespace XP.Scan.Services } catch (SocketException ex) { - _logger.Error($"重建通知发送失败(Socket) | Reconstruction notify failed: {ex.Message}"); + _logger.Error(ex, "重建通知发送失败(Socket) | Reconstruction notify failed: {0}", ex.Message); } catch (Exception ex) { - _logger.Error($"重建通知发送异常 | Reconstruction notify error: {ex.Message}"); + _logger.Error(ex, "重建通知发送异常 | Reconstruction notify error: {0}", ex.Message); } } }