From 7258531e3ba8ebdb1e9cc738720a79ca6602ee9a Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 26 Nov 2018 19:57:42 +0000 Subject: show prim ID on script error --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index a98311e..8cc48bd 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -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); -- cgit v1.1