From d0d3812cdfdfeaaebdeb68b6d407c11fe97b895c Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 12 Jan 2008 01:27:25 +0000 Subject: Minor fix to global exception handler - now only displays unhandled (full crash) exceptions. --- OpenSim/Region/Application/Application.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') 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 msg += "Application is terminating: " + e.IsTerminating.ToString() + "\r\n"; msg += "Exception:"; msg += e.ExceptionObject.ToString(); - Console.WriteLine(msg); + if (e.IsTerminating) + Console.WriteLine(msg); // Try to post errormessage to an URL try -- cgit v1.1