diff --git a/Core/LiveChat/LiveChatListener.cs b/Core/LiveChat/LiveChatListener.cs index a616c6ce..f594e23b 100644 --- a/Core/LiveChat/LiveChatListener.cs +++ b/Core/LiveChat/LiveChatListener.cs @@ -256,6 +256,8 @@ private async Task _innerHeartbeat() catch (Exception e) { string A = e.ToString(); + Log.Error(nameof(_innerHeartbeat), $"检测到网络环境发生变化,出现错误", e); + break; } //Log.Info(nameof(_innerHeartbeat), $"_innerHeartbeat:over"); }