diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs index 7a95a4a..6c969dc 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs | |||
@@ -492,11 +492,11 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
492 | if (e.Message != null) | 492 | if (e.Message != null) |
493 | msg.Append(e.Message); | 493 | msg.Append(e.Message); |
494 | 494 | ||
495 | msg.Append(" script: "); | 495 | msg.Append(" (script: "); |
496 | msg.Append(m_Item.Name); | 496 | msg.Append(m_Item.Name); |
497 | msg.Append(" event: "); | 497 | msg.Append(" event: "); |
498 | msg.Append(ev.ToString()); | 498 | msg.Append(ev.ToString()); |
499 | msg.Append(" (primID: "); | 499 | msg.Append(" primID: "); |
500 | msg.Append(m_Part.UUID.ToString()); | 500 | msg.Append(m_Part.UUID.ToString()); |
501 | msg.Append(" at: <"); | 501 | msg.Append(" at: <"); |
502 | Vector3 pos = m_Part.AbsolutePosition; | 502 | Vector3 pos = m_Part.AbsolutePosition; |
@@ -511,11 +511,19 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
511 | if (msgst.Length > 1000) | 511 | if (msgst.Length > 1000) |
512 | msgst = msgst.Substring(0, 1000); | 512 | msgst = msgst.Substring(0, 1000); |
513 | 513 | ||
514 | m_log.Info(msgst); | ||
515 | m_Engine.World.SimChat(Utils.StringToBytes(msgst), | 514 | m_Engine.World.SimChat(Utils.StringToBytes(msgst), |
516 | ChatTypeEnum.DebugChannel, 2147483647, | 515 | ChatTypeEnum.DebugChannel, 2147483647, |
517 | m_Part.AbsolutePosition, | 516 | m_Part.AbsolutePosition, |
518 | m_Part.Name, m_Part.UUID, false); | 517 | m_Part.Name, m_Part.UUID, false); |
518 | m_log.Debug(string.Format( | ||
519 | "[SCRIPT ERROR]: {0} (at event {1}, part {2} {3} at {4} in {5}", | ||
520 | (e.Message == null)? "" : e.Message, | ||
521 | ev.ToString(), | ||
522 | m_Part.Name, | ||
523 | m_Part.UUID, | ||
524 | m_Part.AbsolutePosition, | ||
525 | m_Part.ParentGroup.Scene.Name)); | ||
526 | |||
519 | m_SleepUntil = DateTime.MaxValue; | 527 | m_SleepUntil = DateTime.MaxValue; |
520 | } | 528 | } |
521 | 529 | ||