Report exception message as well as stack trace if a region fails to register with the grid service in grid mode

prebuild-update
Justin Clark-Casey (justincc) 2010-08-30 21:23:19 +01:00
parent 374807d194
commit 3cd7761d65
1 changed files with 3 additions and 1 deletions

View File

@ -356,7 +356,9 @@ namespace OpenSim
}
catch (Exception e)
{
m_log.ErrorFormat("[STARTUP]: Registration of region with grid failed, aborting startup - {0}", e.StackTrace);
m_log.ErrorFormat(
"[STARTUP]: Registration of region with grid failed, aborting startup due to {0} {1}",
e.Message, e.StackTrace);
// Carrying on now causes a lot of confusion down the
// line - we need to get the user's attention