From 3f9ce854b813fc109fbe5e531e9bb8e6276b3f90 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 17 Oct 2018 10:44:20 +0300 Subject: Users & Roles fix. Applied missing logs for bug report in MS. Applied proofing for UsbSerialAdapter connect/disconnect when port is freezing. --- .../MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs index b3d896d53..bbd621e65 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs @@ -796,6 +796,7 @@ namespace Tango.MachineStudio.UI.ViewModels } catch (Exception ex) { + LogManager.Log(ex, "Error while trying to upload bug report."); _notificationProvider.ShowError("An error occurred while trying to create the issue." + Environment.NewLine + ex.Message); } } @@ -819,6 +820,7 @@ namespace Tango.MachineStudio.UI.ViewModels } catch (Exception ex) { + LogManager.Log(ex, $"Error while trying to approve resolved bug '{item.ID}'."); _notificationProvider.ShowError("An error occurred while trying to update the issue." + Environment.NewLine + ex.Message); } vm.IsAvailable = true; @@ -840,6 +842,7 @@ namespace Tango.MachineStudio.UI.ViewModels } catch (Exception ex) { + LogManager.Log(ex, $"Error while trying to decline resolved bug '{item.ID}'."); _notificationProvider.ShowError("An error occurred while trying to update the issue." + Environment.NewLine + ex.Message); } -- cgit v1.3.1