diff --git a/Proxd-man/Monitor/OutboundMonitor.cs b/Proxd-man/Monitor/OutboundMonitor.cs index f1fc067..b9730f4 100644 --- a/Proxd-man/Monitor/OutboundMonitor.cs +++ b/Proxd-man/Monitor/OutboundMonitor.cs @@ -131,6 +131,11 @@ public class OutboundMonitor outboundTestProcess.Kill(); } } + catch (Exception e) + { + _logger.LogError(e, "测试代理 {OutboundSettingName} ({OutboundSettingTag}) 时发生错误, 跳过代理, 地址: {OutboundSettingAddress}", + outboundSetting.Name, outboundSetting.GetTag(), outboundSetting.Address); + } finally { semaphore.Release();