diff options
author | Justin Clark-Casey (justincc) | 2011-11-17 22:15:46 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-17 22:15:46 +0000 |
commit | 9c928e9dc63a03e652aa5614fc1053351aad0ed1 (patch) | |
tree | 1b85fb5d7703d7883a37486fba6a7dc0a07ba07a /OpenSim/Region/CoreModules | |
parent | Make "terrain save" more friendly by telling the user if we have saved and pu... (diff) | |
download | opensim-SC-9c928e9dc63a03e652aa5614fc1053351aad0ed1.zip opensim-SC-9c928e9dc63a03e652aa5614fc1053351aad0ed1.tar.gz opensim-SC-9c928e9dc63a03e652aa5614fc1053351aad0ed1.tar.bz2 opensim-SC-9c928e9dc63a03e652aa5614fc1053351aad0ed1.tar.xz |
For TerrainModule.SaveToFile(), don't bother throwing the exception onwards after printing out the error, since this method is invoked by users.
Still throwing the exception on the stream method since this invoked programatically
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 428440e..cf000a4 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | |||
@@ -273,7 +273,6 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
273 | catch (IOException ioe) | 273 | catch (IOException ioe) |
274 | { | 274 | { |
275 | m_log.Error(String.Format("[TERRAIN]: Unable to save to {0}, {1}", filename, ioe.Message)); | 275 | m_log.Error(String.Format("[TERRAIN]: Unable to save to {0}, {1}", filename, ioe.Message)); |
276 | throw new TerrainException(String.Format("Unable to save heightmap: {0}", ioe.Message)); | ||
277 | } | 276 | } |
278 | 277 | ||
279 | m_log.ErrorFormat( | 278 | m_log.ErrorFormat( |