aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/Application.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-01-12 01:27:25 +0000
committerTedd Hansen2008-01-12 01:27:25 +0000
commitd0d3812cdfdfeaaebdeb68b6d407c11fe97b895c (patch)
tree21c7c73a9d0381e92a3b3b1e6ebc7c410b6cbc8a /OpenSim/Region/Application/Application.cs
parentAdded global exception handler with possibility of reporting crash details di... (diff)
downloadopensim-SC-d0d3812cdfdfeaaebdeb68b6d407c11fe97b895c.zip
opensim-SC-d0d3812cdfdfeaaebdeb68b6d407c11fe97b895c.tar.gz
opensim-SC-d0d3812cdfdfeaaebdeb68b6d407c11fe97b895c.tar.bz2
opensim-SC-d0d3812cdfdfeaaebdeb68b6d407c11fe97b895c.tar.xz
Minor fix to global exception handler - now only displays unhandled (full crash) exceptions.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/Application.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index de58a8c..0f00d43 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -97,7 +97,8 @@ namespace OpenSim
97 msg += "Application is terminating: " + e.IsTerminating.ToString() + "\r\n"; 97 msg += "Application is terminating: " + e.IsTerminating.ToString() + "\r\n";
98 msg += "Exception:"; 98 msg += "Exception:";
99 msg += e.ExceptionObject.ToString(); 99 msg += e.ExceptionObject.ToString();
100 Console.WriteLine(msg); 100 if (e.IsTerminating)
101 Console.WriteLine(msg);
101 102
102 // Try to post errormessage to an URL 103 // Try to post errormessage to an URL
103 try 104 try