diff options
author | UbitUmarov | 2018-11-26 19:57:42 +0000 |
---|---|---|
committer | UbitUmarov | 2018-11-26 19:57:42 +0000 |
commit | 7258531e3ba8ebdb1e9cc738720a79ca6602ee9a (patch) | |
tree | c3081e77c63f7cb6f7841c3e23f0a78a0afd41b4 /OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |
parent | Yengine: simplify ossl severe error message, and make it on debug channel lik... (diff) | |
download | opensim-SC-7258531e3ba8ebdb1e9cc738720a79ca6602ee9a.zip opensim-SC-7258531e3ba8ebdb1e9cc738720a79ca6602ee9a.tar.gz opensim-SC-7258531e3ba8ebdb1e9cc738720a79ca6602ee9a.tar.bz2 opensim-SC-7258531e3ba8ebdb1e9cc738720a79ca6602ee9a.tar.xz |
show prim ID on script error
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
929 | string text = e.InnerException.Message + | 929 | string text = e.InnerException.Message + |
930 | "(script: " + ScriptName + | 930 | "(script: " + ScriptName + |
931 | " event: " + data.EventName + | 931 | " event: " + data.EventName + |
932 | " primID:" + Part.UUID.ToString() + | ||
932 | " at " + Part.AbsolutePosition + ")"; | 933 | " at " + Part.AbsolutePosition + ")"; |
933 | if (text.Length > 1000) | 934 | if (text.Length > 1000) |
934 | text = text.Substring(0, 1000); | 935 | text = text.Substring(0, 1000); |