Narrow down the exception catching to exactly the exception of interest. This may decrease the time of processing prims with broken user data.
parent
78e76bba38
commit
6861606b6d
|
@ -285,7 +285,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||||
Uri uri = new Uri(parts[0]);
|
Uri uri = new Uri(parts[0]);
|
||||||
user.LastName = "@" + uri.Authority;
|
user.LastName = "@" + uri.Authority;
|
||||||
}
|
}
|
||||||
catch
|
catch (UriFormatException)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[SCENE]: Unable to parse Uri {0}", parts[0]);
|
m_log.DebugFormat("[SCENE]: Unable to parse Uri {0}", parts[0]);
|
||||||
user.LastName = "@unknown";
|
user.LastName = "@unknown";
|
||||||
|
|
Loading…
Reference in New Issue