aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs')
-rw-r--r--OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs
index 8fff793..c2f9653 100644
--- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLLogData.cs
@@ -23,7 +23,14 @@ namespace OpenGrid.Framework.Data.MySQL
23 23
24 public void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority, string logMessage) 24 public void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority, string logMessage)
25 { 25 {
26 database.insertLogRow(serverDaemon, target, methodCall, arguments, priority, logMessage); 26 try
27 {
28 database.insertLogRow(serverDaemon, target, methodCall, arguments, priority, logMessage);
29 }
30 catch (Exception e)
31 {
32 database.Reconnect();
33 }
27 } 34 }
28 35
29 public string getName() 36 public string getName()