mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Narrow down the exception catching to exactly the exception of interest. This may decrease the time of processing prims with broken user data.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user