Добавил warn логи на удаление пустого и переполнение

This commit is contained in:
Никита Потапов 2023-12-05 12:12:19 +04:00
parent 9bb3eb73a4
commit 405fef33f9
2 changed files with 5 additions and 3 deletions

View File

@ -141,6 +141,7 @@ namespace ProjectStormtrooper
catch (StorageOverflowException ex)
{
MessageBox.Show(ex.Message);
_logger.LogWarning("Ошибка добавления: " + ex.Message);
}
}
/// <summary>
@ -182,6 +183,7 @@ namespace ProjectStormtrooper
catch (PlaneNotFoundException ex)
{
MessageBox.Show(ex.Message);
_logger.LogWarning("Ошибка удаления: " + ex.Message);
}
}
/// <summary>