diff options
author | Justin Clark-Casey (justincc) | 2015-01-08 22:59:29 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2015-01-08 22:59:29 +0000 |
commit | dbd500db4271f1e91f5340ccf8378eb5bbb3b177 (patch) | |
tree | 5ec83265bac4179985703d2590c96693a611480e /OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |
parent | When inspecting a script or notecard, also try to look up any assets embedded... (diff) | |
download | opensim-SC_OLD-dbd500db4271f1e91f5340ccf8378eb5bbb3b177.zip opensim-SC_OLD-dbd500db4271f1e91f5340ccf8378eb5bbb3b177.tar.gz opensim-SC_OLD-dbd500db4271f1e91f5340ccf8378eb5bbb3b177.tar.bz2 opensim-SC_OLD-dbd500db4271f1e91f5340ccf8378eb5bbb3b177.tar.xz |
minor: Add event name to existing debug output when a script event fails with an exception. To aid debugging.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index b983be9..79e4774 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 | |||
889 | 889 | ||
890 | 890 | ||
891 | m_log.Debug(string.Format( | 891 | m_log.Debug(string.Format( |
892 | "[SCRIPT INSTANCE]: Runtime error in script {0}, part {1} {2} at {3} in {4} ", | 892 | "[SCRIPT INSTANCE]: Runtime error in script {0} (event {1}), part {2} {3} at {4} in {5} ", |
893 | ScriptName, | 893 | ScriptName, |
894 | data.EventName, | ||
894 | PrimName, | 895 | PrimName, |
895 | Part.UUID, | 896 | Part.UUID, |
896 | Part.AbsolutePosition, | 897 | Part.AbsolutePosition, |