mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Fixes a case where neighboring region info cannot be obtained
and the region server tries to output the region information using the unobtainable RegionInfo. Caused a crash in GS1GridServices.cs, line 928
This commit is contained in:
@@ -925,9 +925,12 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
{
|
||||
NoteDeadRegion(regionHandle);
|
||||
|
||||
m_log.WarnFormat(
|
||||
"[OGS1 GRID SERVICES]: Remoting Error: Unable to connect to adjacent region: {0} {1},{2}",
|
||||
regInfo.RegionName, regInfo.RegionLocX, regInfo.RegionLocY);
|
||||
if(regInfo != null)
|
||||
{
|
||||
m_log.WarnFormat(
|
||||
"[OGS1 GRID SERVICES]: Remoting Error: Unable to connect to adjacent region: {0} {1},{2}",
|
||||
regInfo.RegionName, regInfo.RegionLocX, regInfo.RegionLocY);
|
||||
}
|
||||
m_log.DebugFormat("[OGS1 GRID SERVICES]: {0} {1}", e.Source, e.Message);
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user