From 4476d484c3d1105b73eb6c2b3e8c20dd0cfe57ac Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Mon, 14 Jul 2008 12:32:34 +0000 Subject: fixing warning in IRCBridgeModule and logging the exception cause now. --- OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs index 2977009..d66f578 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs @@ -438,9 +438,10 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat m_enabled = true; } } - catch (Exception e) + catch (Exception ex) { - m_log.Info("[CHAT]: Incomplete IRC config information, skipping IRC bridge configuration"); + m_log.Info("[IRC]: Incomplete IRC configuration, skipping IRC bridge configuration"); + m_log.DebugFormat("[IRC] Incomplete IRC configuration: {0}", ex.ToString()); } } -- cgit v1.1