diff options
author | Oren Hurvitz | 2013-10-30 15:10:29 +0200 |
---|---|---|
committer | Oren Hurvitz | 2014-03-24 12:22:32 +0100 |
commit | 6734b94761a4a8b1d03ea97fd6832c51af32bd8c (patch) | |
tree | 2b02f2f72a907db71a14f7eb8ee5547fd7fad2b1 /OpenSim/Region | |
parent | Removed "hacktastic" code that is no longer needed. (diff) | |
download | opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.zip opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.tar.gz opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.tar.bz2 opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.tar.xz |
Better error messages
This resolves http://opensimulator.org/mantis/view.php?id=6936
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 6264f5d..978e567 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -897,15 +897,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
897 | Part.Name, Part.UUID, false); | 897 | Part.Name, Part.UUID, false); |
898 | 898 | ||
899 | 899 | ||
900 | m_log.DebugFormat( | 900 | m_log.Debug(string.Format( |
901 | "[SCRIPT INSTANCE]: Runtime error in script {0}, part {1} {2} at {3} in {4}, displayed error {5}, actual exception {6}", | 901 | "[SCRIPT INSTANCE]: Runtime error in script {0}, part {1} {2} at {3} in {4} ", |
902 | ScriptName, | 902 | ScriptName, |
903 | PrimName, | 903 | PrimName, |
904 | Part.UUID, | 904 | Part.UUID, |
905 | Part.AbsolutePosition, | 905 | Part.AbsolutePosition, |
906 | Part.ParentGroup.Scene.Name, | 906 | Part.ParentGroup.Scene.Name), |
907 | text.Replace("\n", "\\n"), | 907 | e); |
908 | e.InnerException); | ||
909 | } | 908 | } |
910 | catch (Exception) | 909 | catch (Exception) |
911 | { | 910 | { |
@@ -1220,4 +1219,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
1220 | return null; | 1219 | return null; |
1221 | } | 1220 | } |
1222 | } | 1221 | } |
1223 | } \ No newline at end of file | 1222 | } |