* refactor: Move error logging from GetUserDetails up to callers, since there are some circumstances in which not finding a user is not an error

This commit is contained in:
Justin Clarke Casey
2008-10-15 16:35:27 +00:00
parent 9c4d868167
commit 9324c3f110
6 changed files with 59 additions and 4 deletions

View File

@@ -5044,8 +5044,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
CachedUserInfo userInfo = ((Scene)m_scene).CommsManager.UserProfileCacheService.GetUserDetails(AgentId);
if (userInfo == null)
break;
{
m_log.ErrorFormat(
"[CLIENT]: Could not resolve user {0} for caps inventory update",
AgentId);
break;
}
if (userInfo.RootFolder == null)
break;