[smuxi] Engine-IRC: log auto connect exception details



commit 6971aaf54ef2f7d41cc80a1e6e0afeb2353b0369
Author: Mirco Bauer <meebey meebey net>
Date:   Wed Mar 9 09:06:47 2022 +0800

    Engine-IRC: log auto connect exception details

 src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs 
b/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs
index bb493b29..b3b658c6 100644
--- a/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs
+++ b/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs
@@ -3858,6 +3858,10 @@ namespace Smuxi.Engine
         {
             Trace.Call(sender, e);
 
+#if LOG4NET
+            _Logger.Debug("OnAutoConnectError(): exception:", e.Exception);
+#endif
+
             var builder = CreateMessageBuilder();
             builder.AppendEventPrefix();
             builder.AppendText(_("Connection to {0} port {1} has failed " +


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]