* 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

@@ -244,6 +244,12 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
userInfo.UpdateItem(item);
}
else
{
m_log.ErrorFormat(
"[ASSET TRANSACTIONS]: Could not find user {0} for inventory item update",
remoteClient.AgentId);
}
}
}
@@ -294,6 +300,12 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
userInfo.AddItem(item);
ourClient.SendInventoryItemCreateUpdate(item);
}
else
{
m_log.ErrorFormat(
"[ASSET TRANSACTIONS]: Could not find user {0} for inventory item creation",
ourClient.AgentId);
}
}
/// <summary>