diff options
author | Justin Clark-Casey (justincc) | 2011-09-12 22:44:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-12 22:44:14 +0100 |
commit | 00f8946bd420a796128e58f025f7f380887306ab (patch) | |
tree | 588946f5f3e4f3725c0b5b36765f2a17f6840671 /OpenSim/Region/ScriptEngine | |
parent | comment out some recent terrain texture logging (diff) | |
download | opensim-SC_OLD-00f8946bd420a796128e58f025f7f380887306ab.zip opensim-SC_OLD-00f8946bd420a796128e58f025f7f380887306ab.tar.gz opensim-SC_OLD-00f8946bd420a796128e58f025f7f380887306ab.tar.bz2 opensim-SC_OLD-00f8946bd420a796128e58f025f7f380887306ab.tar.xz |
minor: if the script engine fails to find a prim for a script, also print out that prim's local id in the error message.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 55f373e..156fd57 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -594,7 +594,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
594 | SceneObjectPart part = m_Scene.GetSceneObjectPart(localID); | 594 | SceneObjectPart part = m_Scene.GetSceneObjectPart(localID); |
595 | if (part == null) | 595 | if (part == null) |
596 | { | 596 | { |
597 | m_log.Error("[Script] SceneObjectPart unavailable. Script NOT started."); | 597 | m_log.ErrorFormat("[Script]: SceneObjectPart with localID {0} unavailable. Script NOT started.", localID); |
598 | m_ScriptErrorMessage += "SceneObjectPart unavailable. Script NOT started.\n"; | 598 | m_ScriptErrorMessage += "SceneObjectPart unavailable. Script NOT started.\n"; |
599 | m_ScriptFailCount++; | 599 | m_ScriptFailCount++; |
600 | return false; | 600 | return false; |