diff options
author | Melanie | 2009-12-22 09:24:01 +0000 |
---|---|---|
committer | Melanie | 2009-12-22 09:24:01 +0000 |
commit | 1876ce90af98722a205d1c7181ef66b6a2b54fc5 (patch) | |
tree | 2929090816713fac73d3567314ba8727498d02c4 /OpenSim/Region/ScriptEngine/Shared/Instance | |
parent | Add missing file (diff) | |
download | opensim-SC-1876ce90af98722a205d1c7181ef66b6a2b54fc5.zip opensim-SC-1876ce90af98722a205d1c7181ef66b6a2b54fc5.tar.gz opensim-SC-1876ce90af98722a205d1c7181ef66b6a2b54fc5.tar.bz2 opensim-SC-1876ce90af98722a205d1c7181ef66b6a2b54fc5.tar.xz |
FINALLY! Script compile errors now appear in the script error pane,
not in a funky debug window.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 5c5d57e..d30d2dc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -967,7 +967,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
967 | if (col == 0) | 967 | if (col == 0) |
968 | col++; | 968 | col++; |
969 | message = string.Format("Runtime error:\n" + | 969 | message = string.Format("Runtime error:\n" + |
970 | "Line ({0}): {1}", scriptLine - 1, | 970 | "({0}): {1}", scriptLine - 1, |
971 | e.InnerException.Message); | 971 | e.InnerException.Message); |
972 | 972 | ||
973 | System.Console.WriteLine(e.ToString()+"\n"); | 973 | System.Console.WriteLine(e.ToString()+"\n"); |