diff options
author | UbitUmarov | 2018-03-28 04:29:39 +0100 |
---|---|---|
committer | UbitUmarov | 2018-03-28 04:29:39 +0100 |
commit | f5365cb06d88aa296ec794440bfcc17f35b07e17 (patch) | |
tree | e276d9aa4a485c7ee2edbfde83545c409d740307 | |
parent | Merge branch 'master' into httptests (diff) | |
parent | mantis8309 add extra try{}catch (diff) | |
download | opensim-SC-f5365cb06d88aa296ec794440bfcc17f35b07e17.zip opensim-SC-f5365cb06d88aa296ec794440bfcc17f35b07e17.tar.gz opensim-SC-f5365cb06d88aa296ec794440bfcc17f35b07e17.tar.bz2 opensim-SC-f5365cb06d88aa296ec794440bfcc17f35b07e17.tar.xz |
Merge branch 'master' into httptests
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs index 3fde5f1..84bad25 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | |||
@@ -703,10 +703,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
703 | { | 703 | { |
704 | InventoryFolderBase folder = new InventoryFolderBase(folderID, userID); | 704 | InventoryFolderBase folder = new InventoryFolderBase(folderID, userID); |
705 | 705 | ||
706 | if (InventoryService.PurgeFolder(folder)) | 706 | try |
707 | m_log.DebugFormat("[AGENT INVENTORY]: folder {0} purged successfully", folderID); | 707 | { |
708 | else | 708 | if (InventoryService.PurgeFolder(folder)) |
709 | m_log.WarnFormat("[AGENT INVENTORY]: could not purge folder {0}", folderID); | 709 | m_log.DebugFormat("[AGENT INVENTORY]: folder {0} purged successfully", folderID); |
710 | else | ||
711 | m_log.WarnFormat("[AGENT INVENTORY]: could not purge folder {0}", folderID); | ||
712 | } | ||
713 | catch (Exception e) | ||
714 | { | ||
715 | m_log.WarnFormat("[AGENT INVENTORY]: Exception on async purge folder for user {0}: {1}", userID, e.Message); | ||
716 | } | ||
710 | } | 717 | } |
711 | 718 | ||
712 | private void PurgeFolderCompleted(IAsyncResult iar) | 719 | private void PurgeFolderCompleted(IAsyncResult iar) |