extend exception catching for DoCreateChildAgentCall() from just WebException to Exception on feedback from Chris Hart.

See http://opensimulator.org/mantis/view.php?id=4810
0.6.9-post-fixes
Justin Clark-Casey (justincc) 2010-07-17 01:00:23 +01:00
parent 61f9b3c2cf
commit 4ae04dd0a8
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/*
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
@ -164,9 +164,9 @@ namespace OpenSim.Framework.Communications.Clients
}
}
}
catch (WebException ex)
catch (Exception ex)
{
m_log.InfoFormat("[REST COMMS]: exception on reply of DoCreateChildAgentCall {0}", ex.Message);
m_log.DebugFormat("[REST COMMS]: exception on reply of DoCreateChildAgentCall {0}", ex.Message);
// ignore, really
}
finally
@ -176,7 +176,6 @@ namespace OpenSim.Framework.Communications.Clients
}
return true;
}
public bool DoChildAgentUpdateCall(GridRegion region, IAgentData cAgentData)