If the SnedInventoryAync() method receives an exception log this but make sure it does not terminate the process.

Relates to http://opensimulator.org/mantis/view.php?id=7421
sedebug
Justin Clark-Casey (justincc) 2015-01-21 20:54:23 +00:00
parent 49c4fc405d
commit 26f0e9fa66
1 changed files with 10 additions and 1 deletions

View File

@ -487,7 +487,16 @@ namespace OpenSim.Region.Framework.Scenes
void SendInventoryAsync(IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder)
{
SendInventoryUpdate(remoteClient, new InventoryFolderBase(folderID), fetchFolders, fetchItems);
try
{
SendInventoryUpdate(remoteClient, new InventoryFolderBase(folderID), fetchFolders, fetchItems);
}
catch (Exception e)
{
m_log.Error(
string.Format(
"[AGENT INVENTORY]: Error in SendInventoryAsync() for {0} with folder ID {1}. Exception ", e));
}
}
void SendInventoryComplete(IAsyncResult iar)