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
This commit is contained in:
Justin Clark-Casey (justincc)
2011-11-17 22:15:46 +00:00
parent 352672eaf2
commit 9c928e9dc6

View File

@@ -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(