diff options
author | Melanie Thielker | 2008-09-29 10:35:07 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-29 10:35:07 +0000 |
commit | fe06f37e6bf7e26f739491ff875b4f3c75f2e2dc (patch) | |
tree | 8e01f027332ea7aa2d522751fd51d833c0062738 /OpenSim | |
parent | Mantis #2293 (diff) | |
download | opensim-SC_OLD-fe06f37e6bf7e26f739491ff875b4f3c75f2e2dc.zip opensim-SC_OLD-fe06f37e6bf7e26f739491ff875b4f3c75f2e2dc.tar.gz opensim-SC_OLD-fe06f37e6bf7e26f739491ff875b4f3c75f2e2dc.tar.bz2 opensim-SC_OLD-fe06f37e6bf7e26f739491ff875b4f3c75f2e2dc.tar.xz |
Mantis #2293
Same fix for the DNE
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs | 3 |
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 | ||