Added exception handler to LandManager IncomingLandObjectFromStorage

ThreadPoolClientBranch
Tedd Hansen 2008-01-19 20:59:47 +00:00
parent 57ae2ce300
commit 65ea917d34
1 changed files with 13 additions and 2 deletions

View File

@ -119,10 +119,21 @@ namespace OpenSim.Region.Environment.LandManagement
public void IncomingLandObjectsFromStorage(List<LandData> data) public void IncomingLandObjectsFromStorage(List<LandData> data)
{ {
foreach (LandData parcel in data) for (int i = 0; i < data.Count; i++)
{ {
IncomingLandObjectFromStorage(parcel); try
{
IncomingLandObjectFromStorage(data[i]);
} }
catch (Exception ex)
{
MainLog.Instance.Verbose("LandManager", "IncomingLandObjectsFromStorage: Exception: " + ex.ToString() );
}
}
//foreach (LandData parcel in data)
//{
// IncomingLandObjectFromStorage(parcel);
//}
} }
public void IncomingLandObjectFromStorage(LandData data) public void IncomingLandObjectFromStorage(LandData data)