From fef3baf107c18c0e650e5cc8bbdd8a15e207a453 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 17 Nov 2011 22:15:46 +0000 Subject: [PATCH] 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(-) diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 428440e719..cf000a44dd 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(