diff options
author | Melanie Thielker | 2009-06-21 22:40:21 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-06-21 22:40:21 +0000 |
commit | 7d4f541d43699850d5926ddd34f615140b6b319e (patch) | |
tree | 0c4cdbe3f8d67e8433d8b196e7d2b90661d25add /OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |
parent | Correct the behaviro of group deeding and llGetOwner() within deeded objects (diff) | |
download | opensim-SC_OLD-7d4f541d43699850d5926ddd34f615140b6b319e.zip opensim-SC_OLD-7d4f541d43699850d5926ddd34f615140b6b319e.tar.gz opensim-SC_OLD-7d4f541d43699850d5926ddd34f615140b6b319e.tar.bz2 opensim-SC_OLD-7d4f541d43699850d5926ddd34f615140b6b319e.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index b98bfaf..52d0948 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -200,6 +200,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
200 | if (UUID.TryParse((string)respData["friendID_" + i], out uuid)) tpdAway.Add(uuid); | 200 | if (UUID.TryParse((string)respData["friendID_" + i], out uuid)) tpdAway.Add(uuid); |
201 | } | 201 | } |
202 | } | 202 | } |
203 | catch (WebException e) | ||
204 | { | ||
205 | // Ignore connect failures, simulators come and go | ||
206 | // | ||
207 | if (!e.Message.Contains("ConnectFailure")) | ||
208 | { | ||
209 | m_log.Error("[OGS1 GRID SERVICES]: InformFriendsInOtherRegion XMLRPC failure: ", e); | ||
210 | } | ||
211 | } | ||
203 | catch (Exception e) | 212 | catch (Exception e) |
204 | { | 213 | { |
205 | m_log.Error("[OGS1 GRID SERVICES]: InformFriendsInOtherRegion XMLRPC failure: ", e); | 214 | m_log.Error("[OGS1 GRID SERVICES]: InformFriendsInOtherRegion XMLRPC failure: ", e); |