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/Environment/Scenes/Scene.Inventory.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 55cc60a..226f39a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -143,6 +143,12 @@ namespace OpenSim.Region.Environment.Scenes AddInventoryItem(remoteClient.AgentId, item); remoteClient.SendInventoryItemCreateUpdate(item); } + else + { + m_log.ErrorFormat( + "[AGENT INVENTORY]: Could not resolve user {0} for adding an inventory item", + remoteClient.AgentId); + } } /// @@ -194,6 +200,13 @@ namespace OpenSim.Region.Environment.Scenes } } } + else + { + m_log.ErrorFormat( + "[AGENT INVENTORY]: Could not resolve user {0} for caps inventory update", + remoteClient.AgentId); + } + return UUID.Zero; } -- cgit v1.1