Narrow down the exception catching to exactly the exception of interest. This may decrease the time of processing prims with broken user data.

bulletsim
Diva Canto 2011-06-05 19:46:29 -07:00
parent 78e76bba38
commit 6861606b6d
1 changed files with 1 additions and 1 deletions

View File

@ -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";