diff options
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index f7037ea..0f75a09 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | |||
@@ -35,6 +35,7 @@ using OpenSim.Framework; | |||
35 | using OpenSim.Framework.Communications; | 35 | using OpenSim.Framework.Communications; |
36 | using OpenSim.Framework.Communications.Cache; | 36 | using OpenSim.Framework.Communications.Cache; |
37 | using OpenSim.Framework.Servers; | 37 | using OpenSim.Framework.Servers; |
38 | using OpenSim.Framework.Statistics; | ||
38 | 39 | ||
39 | namespace OpenSim.Region.Communications.OGS1 | 40 | namespace OpenSim.Region.Communications.OGS1 |
40 | { | 41 | { |
@@ -79,8 +80,11 @@ namespace OpenSim.Region.Communications.OGS1 | |||
79 | } | 80 | } |
80 | catch (WebException e) | 81 | catch (WebException e) |
81 | { | 82 | { |
83 | if (StatsManager.SimExtraStats != null) | ||
84 | StatsManager.SimExtraStats.AddInventoryServiceRetrievalFailure(); | ||
85 | |||
82 | m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Request inventory operation failed, {0} {1}", | 86 | m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Request inventory operation failed, {0} {1}", |
83 | e.Source, e.Message); | 87 | e.Source, e.Message); |
84 | } | 88 | } |
85 | } | 89 | } |
86 | else | 90 | else |