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

@@ -929,6 +929,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
string text = e.InnerException.Message +
"(script: " + ScriptName +
" event: " + data.EventName +
" primID:" + Part.UUID.ToString() +
" at " + Part.AbsolutePosition + ")";
if (text.Length > 1000)
text = text.Substring(0, 1000);