Minor fix to global exception handler - now only displays unhandled (full crash) exceptions.
parent
adbdbc675b
commit
d0d3812cdf
|
@ -97,7 +97,8 @@ namespace OpenSim
|
||||||
msg += "Application is terminating: " + e.IsTerminating.ToString() + "\r\n";
|
msg += "Application is terminating: " + e.IsTerminating.ToString() + "\r\n";
|
||||||
msg += "Exception:";
|
msg += "Exception:";
|
||||||
msg += e.ExceptionObject.ToString();
|
msg += e.ExceptionObject.ToString();
|
||||||
Console.WriteLine(msg);
|
if (e.IsTerminating)
|
||||||
|
Console.WriteLine(msg);
|
||||||
|
|
||||||
// Try to post errormessage to an URL
|
// Try to post errormessage to an URL
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue