mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Change the error messages on region region registration. This changes URM
and region. The non-error case should be compatible, so no version bump. Untested.
This commit is contained in:
@@ -1562,9 +1562,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
//m_sceneGridService.RegisterRegion(m_interregionCommsOut, RegionInfo);
|
||||
|
||||
GridRegion region = new GridRegion(RegionInfo);
|
||||
bool success = GridService.RegisterRegion(RegionInfo.ScopeID, region);
|
||||
if (!success)
|
||||
throw new Exception("Can't register with grid");
|
||||
string error = GridService.RegisterRegion(RegionInfo.ScopeID, region);
|
||||
if (error != String.Empty)
|
||||
throw new Exception(error);
|
||||
|
||||
m_sceneGridService.SetScene(this);
|
||||
m_sceneGridService.InformNeighborsThatRegionisUp(RequestModuleInterface<INeighbourService>(), RegionInfo);
|
||||
|
||||
Reference in New Issue
Block a user