diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 239ff55..7793aa5 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | |||
@@ -234,6 +234,11 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
234 | m_log.Error("Unable to save to " + filename + ", saving of this file format has not been implemented."); | 234 | m_log.Error("Unable to save to " + filename + ", saving of this file format has not been implemented."); |
235 | throw new TerrainException(String.Format("Unable to save heightmap: saving of this file format not implemented")); | 235 | throw new TerrainException(String.Format("Unable to save heightmap: saving of this file format not implemented")); |
236 | } | 236 | } |
237 | catch (IOException ioe) | ||
238 | { | ||
239 | m_log.Error(String.Format("[TERRAIN]: Unable to save to {0}, {1}", filename, ioe.Message)); | ||
240 | throw new TerrainException(String.Format("Unable to save heightmap: {0}", ioe.Message)); | ||
241 | } | ||
237 | } | 242 | } |
238 | 243 | ||
239 | /// <summary> | 244 | /// <summary> |