From 20d19b2670e91f4ed26367a10d441313452c2417 Mon Sep 17 00:00:00 2001 From: szporowolik Date: Sat, 19 Oct 2019 18:37:24 +0200 Subject: [PATCH] More information about MySQL errors wil be displayed to user --- 02_Windows_App/Perun_v1/01_Classes/DatabaseController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/02_Windows_App/Perun_v1/01_Classes/DatabaseController.cs b/02_Windows_App/Perun_v1/01_Classes/DatabaseController.cs index 3900a07..dbad5ce 100644 --- a/02_Windows_App/Perun_v1/01_Classes/DatabaseController.cs +++ b/02_Windows_App/Perun_v1/01_Classes/DatabaseController.cs @@ -126,6 +126,7 @@ public class DatabaseController break; default: PerunHelper.LogHistoryAdd(ref Globals.arrLogHistory, "ERROR MySQL - " + m_ex.Number); + PerunHelper.LogHistoryAdd(ref Globals.arrLogHistory, "ERROR MySQL - " + m_ex.Message); break; } bStatus = false;