More information about MySQL errors wil be displayed to user

This commit is contained in:
szporowolik
2019-10-19 18:37:24 +02:00
parent 49e35bcd5e
commit 20d19b2670

View File

@@ -126,6 +126,7 @@ public class DatabaseController
break; break;
default: default:
PerunHelper.LogHistoryAdd(ref Globals.arrLogHistory, "ERROR MySQL - " + m_ex.Number); PerunHelper.LogHistoryAdd(ref Globals.arrLogHistory, "ERROR MySQL - " + m_ex.Number);
PerunHelper.LogHistoryAdd(ref Globals.arrLogHistory, "ERROR MySQL - " + m_ex.Message);
break; break;
} }
bStatus = false; bStatus = false;