mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
If calls to UserAgentServiceConnector fail then throw an exception. This lets the caller decide whether to discard the error or not.
This is Oren Hurvitz's 0001 patch from http://opensimulator.org/mantis/view.php?id=6956 but I ended up doing some tweaking to resolve patch application issues.
This commit is contained in:
@@ -215,7 +215,15 @@ namespace OpenSim.Services.HypergridService
|
||||
{
|
||||
// Let's check with the UAS if the user is elsewhere
|
||||
m_log.DebugFormat("[HG IM SERVICE]: User is not present. Checking location with User Agent service");
|
||||
url = m_UserAgentService.LocateUser(toAgentID);
|
||||
try
|
||||
{
|
||||
url = m_UserAgentService.LocateUser(toAgentID);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.Warn("[HG IM SERVICE]: LocateUser call failed ", e);
|
||||
url = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
// check if we've tried this before..
|
||||
|
||||
Reference in New Issue
Block a user