From d3cd2b0ae498b67718af05bd1b6186c68ad4234f Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Sun, 20 Apr 2008 18:19:34 +0000
Subject: * On grid mode, if the inventory service is responding but returning
an empty response to a whole agent inventory request, then post an inventory
login failure message. IMO, this is better than allowing the agent to login
with an apparantly blank inventory.
---
OpenSim/Framework/Communications/LoginService.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Framework')
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index d610c51..ce8aa23 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -84,7 +84,7 @@ namespace OpenSim.Framework.UserManagement
///
///
///
- /// This will be thrown if there is a problem with the inventory service
+ /// This will be thrown if there is a problem with the inventory service
protected abstract InventoryData GetInventorySkeleton(LLUUID userID);
///
@@ -218,7 +218,7 @@ namespace OpenSim.Framework.UserManagement
{
inventData = GetInventorySkeleton(agentID);
}
- catch (System.Net.WebException e)
+ catch (Exception e)
{
m_log.ErrorFormat(
"[LOGIN END]: Error retrieving inventory skeleton of agent {0}, {1} - {2}",
--
cgit v1.1