From 6861606b6d8000aaa8f54a91de43f1ef05267974 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 5 Jun 2011 19:46:29 -0700 Subject: Narrow down the exception catching to exactly the exception of interest. This may decrease the time of processing prims with broken user data. --- .../Region/CoreModules/Framework/UserManagement/UserManagementModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs index f721195..9051194 100644 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs @@ -285,7 +285,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement Uri uri = new Uri(parts[0]); user.LastName = "@" + uri.Authority; } - catch + catch (UriFormatException) { m_log.DebugFormat("[SCENE]: Unable to parse Uri {0}", parts[0]); user.LastName = "@unknown"; -- cgit v1.1