From 931ccb2599822d1ff042d4a1796b0d07fca81748 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 23 Dec 2022 01:31:29 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BA=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WinFormsApp1/FormMapWithSetTraktor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WinFormsApp1/FormMapWithSetTraktor.cs b/WinFormsApp1/FormMapWithSetTraktor.cs index 81d3fa6..49e527f 100644 --- a/WinFormsApp1/FormMapWithSetTraktor.cs +++ b/WinFormsApp1/FormMapWithSetTraktor.cs @@ -165,7 +165,7 @@ namespace WinFormsApp1 _logger.LogWarning("Ошибка удаления: {0}", ex.Message); MessageBox.Show($"Ошибка удаления: {ex.Message}"); } - catch (ArgumentException ex) + catch (Exception ex) { _logger.LogWarning("Неизвестная ошибка удаления: {0}", ex.Message); MessageBox.Show($"Неизвестная ошибка: {ex.Message}");