diff options
author | Tedd Hansen | 2008-01-19 20:59:47 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-19 20:59:47 +0000 |
commit | 65ea917d3455892306c7afffc6f9bcaa6f9f3589 (patch) | |
tree | 5d88c4a6e2a78838d0c34f7a18f71d3abf676eee /OpenSim/Region | |
parent | Getting closer to that crash .. :) (diff) | |
download | opensim-SC-65ea917d3455892306c7afffc6f9bcaa6f9f3589.zip opensim-SC-65ea917d3455892306c7afffc6f9bcaa6f9f3589.tar.gz opensim-SC-65ea917d3455892306c7afffc6f9bcaa6f9f3589.tar.bz2 opensim-SC-65ea917d3455892306c7afffc6f9bcaa6f9f3589.tar.xz |
Added exception handler to LandManager IncomingLandObjectFromStorage
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/LandManager.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 3bd8848..bdb50cc 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs | |||
@@ -119,10 +119,21 @@ namespace OpenSim.Region.Environment.LandManagement | |||
119 | 119 | ||
120 | public void IncomingLandObjectsFromStorage(List<LandData> data) | 120 | public void IncomingLandObjectsFromStorage(List<LandData> data) |
121 | { | 121 | { |
122 | foreach (LandData parcel in data) | 122 | for (int i = 0; i < data.Count; i++) |
123 | { | 123 | { |
124 | IncomingLandObjectFromStorage(parcel); | 124 | try |
125 | { | ||
126 | IncomingLandObjectFromStorage(data[i]); | ||
127 | } | ||
128 | catch (Exception ex) | ||
129 | { | ||
130 | MainLog.Instance.Verbose("LandManager", "IncomingLandObjectsFromStorage: Exception: " + ex.ToString() ); | ||
131 | } | ||
125 | } | 132 | } |
133 | //foreach (LandData parcel in data) | ||
134 | //{ | ||
135 | // IncomingLandObjectFromStorage(parcel); | ||
136 | //} | ||
126 | } | 137 | } |
127 | 138 | ||
128 | public void IncomingLandObjectFromStorage(LandData data) | 139 | public void IncomingLandObjectFromStorage(LandData data) |