aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent/AssetTransaction
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/Modules/Agent/AssetTransaction
parent* minor: oops, small textual tweak (diff)
downloadopensim-SC_OLD-9324c3f110d70d44ef91c18e570cffc59d067683.zip
opensim-SC_OLD-9324c3f110d70d44ef91c18e570cffc59d067683.tar.gz
opensim-SC_OLD-9324c3f110d70d44ef91c18e570cffc59d067683.tar.bz2
opensim-SC_OLD-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/Modules/Agent/AssetTransaction')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs
index 5484ad5..2763831 100644
--- a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs
@@ -244,6 +244,12 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
244 244
245 userInfo.UpdateItem(item); 245 userInfo.UpdateItem(item);
246 } 246 }
247 else
248 {
249 m_log.ErrorFormat(
250 "[ASSET TRANSACTIONS]: Could not find user {0} for inventory item update",
251 remoteClient.AgentId);
252 }
247 } 253 }
248 } 254 }
249 255
@@ -294,6 +300,12 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
294 userInfo.AddItem(item); 300 userInfo.AddItem(item);
295 ourClient.SendInventoryItemCreateUpdate(item); 301 ourClient.SendInventoryItemCreateUpdate(item);
296 } 302 }
303 else
304 {
305 m_log.ErrorFormat(
306 "[ASSET TRANSACTIONS]: Could not find user {0} for inventory item creation",
307 ourClient.AgentId);
308 }
297 } 309 }
298 310
299 /// <summary> 311 /// <summary>