From 9324c3f110d70d44ef91c18e570cffc59d067683 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 15 Oct 2008 16:35:27 +0000 Subject: * refactor: Move error logging from GetUserDetails up to callers, since there are some circumstances in which not finding a user is not an error --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index cb162ab..b826a12 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -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; -- cgit v1.1