show prim ID on script error

This commit is contained in:
UbitUmarov
2018-11-26 19:57:42 +00:00
parent 27da6f1301
commit 7258531e3b
2 changed files with 3 additions and 3 deletions

View File

@@ -492,13 +492,12 @@ namespace OpenSim.Region.ScriptEngine.Yengine
if (e.Message != null)
msg.Append(e.Message);
msg.Append(" (prim: ");
msg.Append(m_Part.Name);
msg.Append(" script: ");
msg.Append(m_Item.Name);
msg.Append(" event: ");
msg.Append(ev.ToString());
msg.Append(" (primID: ");
msg.Append(m_Part.UUID.ToString());
msg.Append(" at: <");
Vector3 pos = m_Part.AbsolutePosition;
msg.Append((int)Math.Floor(pos.X));