diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-08-10 19:15:50 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-08-10 19:15:50 +0300 |
| commit | 3cfc4ee06b801e581107f24e691451cd291b6a70 (patch) | |
| tree | 1d13c5f9c1e701900fe1f161b38b5a7ea49c1959 /Software/Visual_Studio/Tango.Logging | |
| parent | ed3a77f6c890c6e232bb154418e2fdfb08c83dcf (diff) | |
| download | Tango-3cfc4ee06b801e581107f24e691451cd291b6a70.tar.gz Tango-3cfc4ee06b801e581107f24e691451cd291b6a70.zip | |
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.
Diffstat (limited to 'Software/Visual_Studio/Tango.Logging')
| -rw-r--r-- | Software/Visual_Studio/Tango.Logging/GlobalExceptionTrapper.cs | 7 |
1 files changed, 0 insertions, 7 deletions
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; } } |
