From b9acf3ac5e5239c14a8f46c101d6470ffb2675d3 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sun, 7 Sep 2008 03:34:44 +0000 Subject: * minor: for now, print out the exception if logging into the initially selected region fails, rather than swallowing it --- OpenSim/Grid/UserServer/UserLoginService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index 06a68ae..efd0654 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs @@ -338,9 +338,9 @@ namespace OpenSim.Grid.UserServer } } } - catch (Exception) - //catch (System.AccessViolationException) + catch (Exception e) { + m_log.ErrorFormat("[LOGIN]: Requested region for login not available, {0}", e); tryDefault = true; } @@ -353,7 +353,7 @@ namespace OpenSim.Grid.UserServer ((ulong) m_config.DefaultY*Constants.RegionSize); m_log.Warn( - "[LOGIN]: Home region not available: sending to default " + defaultHandle); + "[LOGIN]: Sending user to default region " + defaultHandle + " instead"); try { -- cgit v1.1