From f1d35973c220caa2e85a2380c7145ef5b1f35b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=BA=20=D0=98=D0=B3=D0=BE=D1=80=D1=8C?= Date: Tue, 28 Mar 2023 13:38:07 +0400 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D0=B3=20=D0=BA=D0=BE=D0=B4=D0=B0=20=D1=84?= =?UTF-8?q?=D0=BE=D1=80=D0=BC=D1=8B=20=D0=BF=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BC=D0=B0=D0=B3=D0=B0=D0=B7=D0=B8?= =?UTF-8?q?=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BlacksmithWorkshop/BlacksmithWorkshop/FormFillStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormFillStore.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormFillStore.cs index ccb36c6..1ec6a37 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormFillStore.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormFillStore.cs @@ -67,7 +67,7 @@ namespace BlacksmithWorkshopView }, Convert.ToInt32(textBoxCount.Text)); if (!operationResult) { - throw new Exception("Ошибка при создании заказа. Дополнительная информация в логах."); + throw new Exception("Ошибка при пополнении магазина. Дополнительная информация в логах."); } MessageBox.Show("Сохранение прошло успешно", "Сообщение", MessageBoxButtons.OK, MessageBoxIcon.Information); DialogResult = DialogResult.OK; @@ -75,7 +75,7 @@ namespace BlacksmithWorkshopView } catch (Exception ex) { - _logger.LogError(ex, "Ошибка создания заказа"); + _logger.LogError(ex, "Ошибка пополнения магазина"); MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error); } }