diff options
author | Justin Clark-Casey (justincc) | 2014-12-03 20:35:49 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-12-03 20:35:49 +0000 |
commit | 805b7ccb3e45c5233dd771a5e4a2fe01a5dfb4fc (patch) | |
tree | c235953034f8d8907f0b91b430c1742e23032093 /OpenSim/Region/ScriptEngine/XEngine | |
parent | Always close script linemap file after reading and always dispose of other st... (diff) | |
download | opensim-SC-805b7ccb3e45c5233dd771a5e4a2fe01a5dfb4fc.zip opensim-SC-805b7ccb3e45c5233dd771a5e4a2fe01a5dfb4fc.tar.gz opensim-SC-805b7ccb3e45c5233dd771a5e4a2fe01a5dfb4fc.tar.bz2 opensim-SC-805b7ccb3e45c5233dd771a5e4a2fe01a5dfb4fc.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a4113d6..e5c11d8 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -2155,7 +2155,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
2155 | catch (IOException ex) | 2155 | catch (IOException ex) |
2156 | { | 2156 | { |
2157 | // if there already exists a file at that location, it may be locked. | 2157 | // if there already exists a file at that location, it may be locked. |
2158 | m_log.ErrorFormat("[XEngine]: Linemap file {0} already exists! {1}", mappath, ex.Message); | 2158 | m_log.Error( |
2159 | string.Format("[XEngine]: Linemap file {0} could not be written. Exception ", mappath), ex); | ||
2159 | } | 2160 | } |
2160 | } | 2161 | } |
2161 | } | 2162 | } |