diff options
author | Tedd Hansen | 2008-01-12 01:30:57 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-12 01:30:57 +0000 |
commit | c4684b2d14adfd86c03124f72f99e369e9723b61 (patch) | |
tree | a21276da6ce5e6d72f553897842f02b74cf7f292 /OpenSim/Region/Application/Application.cs | |
parent | Minor fix to global exception handler - now only displays unhandled (full cra... (diff) | |
download | opensim-SC_OLD-c4684b2d14adfd86c03124f72f99e369e9723b61.zip opensim-SC_OLD-c4684b2d14adfd86c03124f72f99e369e9723b61.tar.gz opensim-SC_OLD-c4684b2d14adfd86c03124f72f99e369e9723b61.tar.bz2 opensim-SC_OLD-c4684b2d14adfd86c03124f72f99e369e9723b61.tar.xz |
And one last time - removed duplicate exception dump :)
Diffstat (limited to 'OpenSim/Region/Application/Application.cs')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 0f00d43..8f5c87e 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -95,11 +95,12 @@ namespace OpenSim | |||
95 | msg += "APPLICATION EXCEPTION DETECTED\r\n"; | 95 | msg += "APPLICATION EXCEPTION DETECTED\r\n"; |
96 | msg += "\r\n"; | 96 | msg += "\r\n"; |
97 | msg += "Application is terminating: " + e.IsTerminating.ToString() + "\r\n"; | 97 | msg += "Application is terminating: " + e.IsTerminating.ToString() + "\r\n"; |
98 | msg += "Exception:"; | ||
99 | msg += e.ExceptionObject.ToString(); | ||
100 | if (e.IsTerminating) | 98 | if (e.IsTerminating) |
101 | Console.WriteLine(msg); | 99 | Console.WriteLine(msg); |
102 | 100 | ||
101 | msg += "Exception:"; | ||
102 | msg += e.ExceptionObject.ToString(); | ||
103 | |||
103 | // Try to post errormessage to an URL | 104 | // Try to post errormessage to an URL |
104 | try | 105 | try |
105 | { | 106 | { |