diff --git a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs index 54d2227..64a4713 100644 --- a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs +++ b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs @@ -92,6 +92,7 @@ namespace ProjectElectricLocomotive catch (StorageOverflowException ex) { MessageBox.Show(ex.Message); + _logger.LogWarning("Не удалось добавить объект"); } } private void ButtonRemoveObject_Click(object sender, EventArgs e)