minor: Add event name to existing debug output when a script event fails with an exception. To aid debugging.

sedebug
Justin Clark-Casey (justincc) 2015-01-08 22:59:29 +00:00
parent 801a86ca03
commit dbd500db42
1 changed files with 2 additions and 1 deletions

View File

@ -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,