From 3cfc4ee06b801e581107f24e691451cd291b6a70 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 10 Aug 2020 19:15:50 +0300 Subject: Reduced several unhandled exceptions written to logs from GlobalExceptionTrapper. Reset RemoteJob on FSE connection. Ensure auto reconnection time does not execute when the dialog has been already closed.. Not sure if that is the problem. --- Software/Visual_Studio/Tango.Logging/GlobalExceptionTrapper.cs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Software/Visual_Studio/Tango.Logging') diff --git a/Software/Visual_Studio/Tango.Logging/GlobalExceptionTrapper.cs b/Software/Visual_Studio/Tango.Logging/GlobalExceptionTrapper.cs index b5acb4b88..7580eea31 100644 --- a/Software/Visual_Studio/Tango.Logging/GlobalExceptionTrapper.cs +++ b/Software/Visual_Studio/Tango.Logging/GlobalExceptionTrapper.cs @@ -90,18 +90,11 @@ namespace Tango.Logging } _lastGlobalExceptionTime = DateTime.Now; - LogManager.Default.Log("Application Crashed", LogCategory.Critical); - LogManager.Default.Log(exception, LogCategory.Critical); ApplicationCrashedEventArgs e = new ApplicationCrashedEventArgs(exception); ApplicationCrashed?.Invoke(this, e); - if (e.TryRecover) - { - LogManager.Default.Log("Trying application recovery. Ignoring exception..."); - } - return e.TryRecover; } } -- cgit v1.3.1