* 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

This commit is contained in:
Justin Clarke Casey
2008-06-13 16:17:27 +00:00
parent 6c23acf41b
commit 8f69a0ab3d

View File

@@ -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;
}