Minor fix to global exception handler - now only displays unhandled (full crash) exceptions.

ThreadPoolClientBranch
Tedd Hansen 2008-01-12 01:27:25 +00:00
parent adbdbc675b
commit d0d3812cdf
1 changed files with 2 additions and 1 deletions

View File

@ -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