From eaefd63d015d9c3ab9e1a57609172a2b4c455032 Mon Sep 17 00:00:00 2001 From: tellsense Date: Sun, 24 Dec 2023 14:09:59 +0400 Subject: [PATCH] =?UTF-8?q?lab=207=20(=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20warn)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ElectricLocomotive/FormLocomotiveCollection.cs | 1 + 1 file changed, 1 insertion(+) 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)