Skip to content

Commit

Permalink
fix: added log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
iadonkey committed Sep 6, 2023
1 parent 9b4fe8f commit bb5e952
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions TwinpackVsixShared/Dialogs/PackageVersionWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -888,10 +888,14 @@ await Task.Run(() =>
catch (Exceptions.LoginException ex)
{
MessageBox.Show(ex.Message, "Login failed", MessageBoxButton.OK, MessageBoxImage.Error);
_logger.Trace(ex);
_logger.Error(ex.Message);
}
catch (Exceptions.PostException ex)
{
MessageBox.Show(ex.Message, "Push failed", MessageBoxButton.OK, MessageBoxImage.Error);
_logger.Trace(ex);
_logger.Error(ex.Message);
}
catch (Exception ex)
{
Expand Down

0 comments on commit bb5e952

Please sign in to comment.