aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs
index 4bd0b45..2306bce 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs
@@ -359,6 +359,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
359 string FormatException(Exception e, Dictionary<KeyValuePair<int,int>, 359 string FormatException(Exception e, Dictionary<KeyValuePair<int,int>,
360 KeyValuePair<int,int>> LineMap) 360 KeyValuePair<int,int>> LineMap)
361 { 361 {
362 if (e.InnerException == null)
363 return e.ToString();
364
362 string message = "Runtime error:\n" + e.InnerException.StackTrace; 365 string message = "Runtime error:\n" + e.InnerException.StackTrace;
363 string[] lines = message.Split(new char[] {'\n'}); 366 string[] lines = message.Split(new char[] {'\n'});
364 367