diff options
author | Diva Canto | 2011-06-05 19:46:29 -0700 |
---|---|---|
committer | Diva Canto | 2011-06-05 19:46:29 -0700 |
commit | 6861606b6d8000aaa8f54a91de43f1ef05267974 (patch) | |
tree | f223faf3d021f5634c77fffa58dc63d738af6b1b /OpenSim/Region | |
parent | Removed unused dependency (that happened to have the wrong path) (diff) | |
download | opensim-SC-6861606b6d8000aaa8f54a91de43f1ef05267974.zip opensim-SC-6861606b6d8000aaa8f54a91de43f1ef05267974.tar.gz opensim-SC-6861606b6d8000aaa8f54a91de43f1ef05267974.tar.bz2 opensim-SC-6861606b6d8000aaa8f54a91de43f1ef05267974.tar.xz |
Narrow down the exception catching to exactly the exception of interest. This may decrease the time of processing prims with broken user data.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
285 | Uri uri = new Uri(parts[0]); | 285 | Uri uri = new Uri(parts[0]); |
286 | user.LastName = "@" + uri.Authority; | 286 | user.LastName = "@" + uri.Authority; |
287 | } | 287 | } |
288 | catch | 288 | catch (UriFormatException) |
289 | { | 289 | { |
290 | m_log.DebugFormat("[SCENE]: Unable to parse Uri {0}", parts[0]); | 290 | m_log.DebugFormat("[SCENE]: Unable to parse Uri {0}", parts[0]); |
291 | user.LastName = "@unknown"; | 291 | user.LastName = "@unknown"; |