diff options
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs index 9d96703..44f5e01 100644 --- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs +++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | |||
@@ -122,7 +122,7 @@ namespace OpenSim.Services.Connectors | |||
122 | } | 122 | } |
123 | catch (Exception e) | 123 | catch (Exception e) |
124 | { | 124 | { |
125 | m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception unwrapping folder list: {0}", e.Message); | 125 | m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception unwrapping folder list: ", e); |
126 | } | 126 | } |
127 | 127 | ||
128 | return fldrs; | 128 | return fldrs; |
@@ -191,7 +191,7 @@ namespace OpenSim.Services.Connectors | |||
191 | } | 191 | } |
192 | catch (Exception e) | 192 | catch (Exception e) |
193 | { | 193 | { |
194 | m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetFolderContent: {0}", e.Message); | 194 | m_log.WarnFormat("[XINVENTORY SERVICES CONNECTOR]: Exception in GetFolderContent: {0}", e.Message); |
195 | } | 195 | } |
196 | 196 | ||
197 | return inventory; | 197 | return inventory; |
@@ -432,7 +432,7 @@ namespace OpenSim.Services.Connectors | |||
432 | } | 432 | } |
433 | catch (Exception e) | 433 | catch (Exception e) |
434 | { | 434 | { |
435 | m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetItem: {0}", e.Message); | 435 | m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception in GetItem: ", e); |
436 | } | 436 | } |
437 | 437 | ||
438 | return null; | 438 | return null; |
@@ -456,7 +456,7 @@ namespace OpenSim.Services.Connectors | |||
456 | } | 456 | } |
457 | catch (Exception e) | 457 | catch (Exception e) |
458 | { | 458 | { |
459 | m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetFolder: {0}", e.Message); | 459 | m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception in GetFolder: ", e); |
460 | } | 460 | } |
461 | 461 | ||
462 | return null; | 462 | return null; |
@@ -474,7 +474,7 @@ namespace OpenSim.Services.Connectors | |||
474 | 474 | ||
475 | List<InventoryItemBase> items = new List<InventoryItemBase>(); | 475 | List<InventoryItemBase> items = new List<InventoryItemBase>(); |
476 | 476 | ||
477 | foreach (Object o in ret.Values) // getting the values directly, we don't care about the keys item_i | 477 | foreach (Object o in ((Dictionary<string,object>)ret["ITEMS"]).Values) |
478 | items.Add(BuildItem((Dictionary<string, object>)o)); | 478 | items.Add(BuildItem((Dictionary<string, object>)o)); |
479 | 479 | ||
480 | return items; | 480 | return items; |
@@ -525,7 +525,7 @@ namespace OpenSim.Services.Connectors | |||
525 | } | 525 | } |
526 | catch (Exception e) | 526 | catch (Exception e) |
527 | { | 527 | { |
528 | m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception in GetUserInventory: {0}", e.Message); | 528 | m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception in GetUserInventory: ", e); |
529 | } | 529 | } |
530 | 530 | ||
531 | return inventory; | 531 | return inventory; |
@@ -574,7 +574,7 @@ namespace OpenSim.Services.Connectors | |||
574 | } | 574 | } |
575 | catch (Exception e) | 575 | catch (Exception e) |
576 | { | 576 | { |
577 | m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception building folder: {0}", e.Message); | 577 | m_log.Error("[XINVENTORY SERVICES CONNECTOR]: Exception building folder: ", e); |
578 | } | 578 | } |
579 | 579 | ||
580 | return folder; | 580 | return folder; |
@@ -613,11 +613,10 @@ namespace OpenSim.Services.Connectors | |||
613 | } | 613 | } |
614 | catch (Exception e) | 614 | catch (Exception e) |
615 | { | 615 | { |
616 | m_log.DebugFormat("[XINVENTORY CONNECTOR STUB]: Exception building item: {0}", e.Message); | 616 | m_log.Error("[XINVENTORY CONNECTOR]: Exception building item: ", e); |
617 | } | 617 | } |
618 | 618 | ||
619 | return item; | 619 | return item; |
620 | } | 620 | } |
621 | |||
622 | } | 621 | } |
623 | } | 622 | } \ No newline at end of file |