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 programatically0.7.2-post-fixes
parent
123322569d
commit
fef3baf107
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue