aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-15 16:35:27 +0000
committerJustin Clarke Casey2008-10-15 16:35:27 +0000
commit9324c3f110d70d44ef91c18e570cffc59d067683 (patch)
tree6ce60aa08beca59e9e985868f7435ed89cabf59d /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parent* minor: oops, small textual tweak (diff)
downloadopensim-SC-9324c3f110d70d44ef91c18e570cffc59d067683.zip
opensim-SC-9324c3f110d70d44ef91c18e570cffc59d067683.tar.gz
opensim-SC-9324c3f110d70d44ef91c18e570cffc59d067683.tar.bz2
opensim-SC-9324c3f110d70d44ef91c18e570cffc59d067683.tar.xz
* refactor: Move error logging from GetUserDetails up to callers, since there are some circumstances in which not finding a user is not an error
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs13
1 files changed, 13 insertions, 0 deletions
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
143 AddInventoryItem(remoteClient.AgentId, item); 143 AddInventoryItem(remoteClient.AgentId, item);
144 remoteClient.SendInventoryItemCreateUpdate(item); 144 remoteClient.SendInventoryItemCreateUpdate(item);
145 } 145 }
146 else
147 {
148 m_log.ErrorFormat(
149 "[AGENT INVENTORY]: Could not resolve user {0} for adding an inventory item",
150 remoteClient.AgentId);
151 }
146 } 152 }
147 153
148 /// <summary> 154 /// <summary>
@@ -194,6 +200,13 @@ namespace OpenSim.Region.Environment.Scenes
194 } 200 }
195 } 201 }
196 } 202 }
203 else
204 {
205 m_log.ErrorFormat(
206 "[AGENT INVENTORY]: Could not resolve user {0} for caps inventory update",
207 remoteClient.AgentId);
208 }
209
197 return UUID.Zero; 210 return UUID.Zero;
198 } 211 }
199 212