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
0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-11-17 22:15:46 +00:00
parent 123322569d
commit fef3baf107
1 changed files with 0 additions and 1 deletions

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(