aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
diff options
context:
space:
mode:
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);
}