From 8f69a0ab3dc37131e361da09a25bf39bb3eecd27 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 13 Jun 2008 16:17:27 +0000
Subject: * If appropriate, start printing out the inner exception from the
 grid -> region status check, so we can tell a bit better what the problem was

---
 OpenSim/Grid/GridServer/GridManager.cs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'OpenSim/Grid')

diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs
index 2933f04..c539e66 100644
--- a/OpenSim/Grid/GridServer/GridManager.cs
+++ b/OpenSim/Grid/GridServer/GridManager.cs
@@ -395,7 +395,11 @@ namespace OpenSim.Grid.GridServer
                 }
                 catch (LoginException e)
                 {
-                    m_log.WarnFormat("[LOGIN END]: {0}", e.Message);
+                    string logMsg = e.Message;
+                    if (e.InnerException != null)
+                        logMsg += ", " + e.InnerException.Message;
+                    
+                    m_log.WarnFormat("[LOGIN END]: {0}", logMsg);
 
                     return e.XmlRpcErrorResponse;
                 }
-- 
cgit v1.1