From 9c928e9dc63a03e652aa5614fc1053351aad0ed1 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 17 Nov 2011 22:15:46 +0000 Subject: 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 --- OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 1 - 1 file changed, 1 deletion(-) (limited to 'OpenSim') 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 catch (IOException ioe) { m_log.Error(String.Format("[TERRAIN]: Unable to save to {0}, {1}", filename, ioe.Message)); - throw new TerrainException(String.Format("Unable to save heightmap: {0}", ioe.Message)); } m_log.ErrorFormat( -- cgit v1.1