Still looking for that startup crash bug. Added some exception handling in prim object load.

ThreadPoolClientBranch
Tedd Hansen 2008-01-19 11:08:07 +00:00
parent 8fdeab57b1
commit ef50e6875c
1 changed files with 62 additions and 55 deletions

View File

@ -215,6 +215,8 @@ namespace OpenSim.Framework.Data.MySQL
DataTable prims = m_primTable; DataTable prims = m_primTable;
DataTable shapes = m_shapeTable; DataTable shapes = m_shapeTable;
try
{
string byRegion = "RegionUUID = '" + Util.ToRawUuidString(regionUUID) + "'"; string byRegion = "RegionUUID = '" + Util.ToRawUuidString(regionUUID) + "'";
string orderByParent = "ParentID ASC"; string orderByParent = "ParentID ASC";
@ -286,6 +288,11 @@ namespace OpenSim.Framework.Data.MySQL
} }
} }
} }
}
catch (Exception ex)
{
MainLog.Instance.Error("DATASTORE", "Exception trying to load prim objects: " + ex.ToString());
}
return retvals; return retvals;
} }