aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-12 22:44:14 +0100
committerJustin Clark-Casey (justincc)2011-09-12 22:44:14 +0100
commit00f8946bd420a796128e58f025f7f380887306ab (patch)
tree588946f5f3e4f3725c0b5b36765f2a17f6840671 /OpenSim/Region/ScriptEngine/XEngine
parentcomment out some recent terrain texture logging (diff)
downloadopensim-SC-00f8946bd420a796128e58f025f7f380887306ab.zip
opensim-SC-00f8946bd420a796128e58f025f7f380887306ab.tar.gz
opensim-SC-00f8946bd420a796128e58f025f7f380887306ab.tar.bz2
opensim-SC-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/XEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs2
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;