diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 47f04d5..9b78d53 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -514,7 +514,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
514 | try | 514 | try |
515 | { | 515 | { |
516 | // DISPLAY ERROR INWORLD | 516 | // DISPLAY ERROR INWORLD |
517 | string text = "Error compiling script:\n" + e.ToString(); | 517 | string text = "Error compiling script:\n" + e.Message.ToString(); |
518 | if (text.Length > 1000) | 518 | if (text.Length > 1000) |
519 | text = text.Substring(0, 1000); | 519 | text = text.Substring(0, 1000); |
520 | World.SimChat(Utils.StringToBytes(text), | 520 | World.SimChat(Utils.StringToBytes(text), |