minor: improve logged error in XEngine.SetXmlState if there was a problem writing the linemap.

The previous error report of already exists is inaccurate since existing files do get overwritten.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-12-03 20:35:49 +00:00
parent 72d1d96c5c
commit 805b7ccb3e

View File

@@ -2155,7 +2155,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine
catch (IOException ex)
{
// if there already exists a file at that location, it may be locked.
m_log.ErrorFormat("[XEngine]: Linemap file {0} already exists! {1}", mappath, ex.Message);
m_log.Error(
string.Format("[XEngine]: Linemap file {0} could not be written. Exception ", mappath), ex);
}
}
}