aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-10-17 10:44:20 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-10-17 10:44:20 +0300
commit3f9ce854b813fc109fbe5e531e9bb8e6276b3f90 (patch)
treeb47939c32e7885cd367537bb7e11c8c5f2d4a04b /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
parent2ceda82fb5e1584106a8b6e45bd6c3a014e7429a (diff)
downloadTango-3f9ce854b813fc109fbe5e531e9bb8e6276b3f90.tar.gz
Tango-3f9ce854b813fc109fbe5e531e9bb8e6276b3f90.zip
Users & Roles fix.
Applied missing logs for bug report in MS. Applied proofing for UsbSerialAdapter connect/disconnect when port is freezing.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs3
1 files changed, 3 insertions, 0 deletions
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);
}