* minor: for now, print out the exception if logging into the initially selected region fails, rather than swallowing it

0.6.0-stable
Justin Clarke Casey 2008-09-07 03:34:44 +00:00
parent 78f831ef52
commit b9acf3ac5e
1 changed files with 3 additions and 3 deletions

View File

@ -338,9 +338,9 @@ namespace OpenSim.Grid.UserServer
} }
} }
} }
catch (Exception) catch (Exception e)
//catch (System.AccessViolationException)
{ {
m_log.ErrorFormat("[LOGIN]: Requested region for login not available, {0}", e);
tryDefault = true; tryDefault = true;
} }
@ -353,7 +353,7 @@ namespace OpenSim.Grid.UserServer
((ulong) m_config.DefaultY*Constants.RegionSize); ((ulong) m_config.DefaultY*Constants.RegionSize);
m_log.Warn( m_log.Warn(
"[LOGIN]: Home region not available: sending to default " + defaultHandle); "[LOGIN]: Sending user to default region " + defaultHandle + " instead");
try try
{ {