Suppress exception dump when informing friends in another region about login

or logoff. Regions come and go and we can't throw just because someone
took their region off the grid, or crashed.
0.6.6-post-fixes
Melanie Thielker 2009-06-21 22:40:21 +00:00
parent bc1dce071a
commit 7d4f541d43
1 changed files with 9 additions and 0 deletions

View File

@ -200,6 +200,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
if (UUID.TryParse((string)respData["friendID_" + i], out uuid)) tpdAway.Add(uuid);
}
}
catch (WebException e)
{
// Ignore connect failures, simulators come and go
//
if (!e.Message.Contains("ConnectFailure"))
{
m_log.Error("[OGS1 GRID SERVICES]: InformFriendsInOtherRegion XMLRPC failure: ", e);
}
}
catch (Exception e)
{
m_log.Error("[OGS1 GRID SERVICES]: InformFriendsInOtherRegion XMLRPC failure: ", e);