From dbd500db4271f1e91f5340ccf8378eb5bbb3b177 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 8 Jan 2015 22:59:29 +0000 Subject: [PATCH] minor: Add event name to existing debug output when a script event fails with an exception. To aid debugging. --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index b983be93b6..79e4774aba 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -889,8 +889,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance m_log.Debug(string.Format( - "[SCRIPT INSTANCE]: Runtime error in script {0}, part {1} {2} at {3} in {4} ", + "[SCRIPT INSTANCE]: Runtime error in script {0} (event {1}), part {2} {3} at {4} in {5} ", ScriptName, + data.EventName, PrimName, Part.UUID, Part.AbsolutePosition,