diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index b725f58..0431d90 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -494,8 +494,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
494 | 494 | ||
495 | UUID assetID = item.AssetID; | 495 | UUID assetID = item.AssetID; |
496 | 496 | ||
497 | // m_log.DebugFormat("[XEngine] Compiling script {0} ({1})", | 497 | //m_log.DebugFormat("[XEngine] Compiling script {0} ({1} on object {2})", |
498 | // item.Name, itemID.ToString()); | 498 | // item.Name, itemID.ToString(), part.ParentGroup.RootPart.Name); |
499 | 499 | ||
500 | ScenePresence presence = m_Scene.GetScenePresence(item.OwnerID); | 500 | ScenePresence presence = m_Scene.GetScenePresence(item.OwnerID); |
501 | 501 | ||
@@ -559,7 +559,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
559 | try | 559 | try |
560 | { | 560 | { |
561 | // DISPLAY ERROR INWORLD | 561 | // DISPLAY ERROR INWORLD |
562 | m_ScriptErrorMessage += "Failed to compile: " + e.Message.ToString(); | 562 | m_ScriptErrorMessage += "Failed to compile script in object: '" + part.ParentGroup.RootPart.Name + "' Script name: '" + item.Name + "' Error message: " + e.Message.ToString(); |
563 | |||
563 | m_ScriptFailCount++; | 564 | m_ScriptFailCount++; |
564 | string text = "Error compiling script:\n" + e.Message.ToString(); | 565 | string text = "Error compiling script:\n" + e.Message.ToString(); |
565 | if (text.Length > 1000) | 566 | if (text.Length > 1000) |