* 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

0.6.0-stable
Justin Clarke Casey 2008-06-13 16:17:27 +00:00
parent 6c23acf41b
commit 8f69a0ab3d
1 changed files with 5 additions and 1 deletions

View File

@ -395,7 +395,11 @@ namespace OpenSim.Grid.GridServer
} }
catch (LoginException e) 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; return e.XmlRpcErrorResponse;
} }