add error handling

master
Christopher 2020-06-28 13:59:38 +02:00
parent c35f8b3f1b
commit 61cb8c2e85
1 changed files with 48 additions and 42 deletions

View File

@ -107,6 +107,8 @@ namespace OpenSim.Modules.TextureFetcher
m_log.Info("[" + Name + "] Process part '" + part.Name + "'"); m_log.Info("[" + Name + "] Process part '" + part.Name + "'");
try
{
List<UUID> allTextures = new List<UUID>(); List<UUID> allTextures = new List<UUID>();
List<TaskInventoryItem> inventoryItems = new List<TaskInventoryItem>(); List<TaskInventoryItem> inventoryItems = new List<TaskInventoryItem>();
@ -153,7 +155,11 @@ namespace OpenSim.Modules.TextureFetcher
{ {
part.SendFullUpdateToAllClients(); part.SendFullUpdateToAllClients();
} }
}
catch(Exception _error)
{
m_log.Error("[" + Name + "] ERROR: " + _error.Message);
}
} }
} }
} }