aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs
index 57dbfc6..6f3cad6 100644
--- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs
@@ -51,6 +51,7 @@ namespace OpenGrid.Framework.Data.MySQL
51 } 51 }
52 catch (Exception e) 52 catch (Exception e)
53 { 53 {
54 database.Reconnect();
54 Console.WriteLine(e.ToString()); 55 Console.WriteLine(e.ToString());
55 return null; 56 return null;
56 } 57 }
@@ -78,6 +79,7 @@ namespace OpenGrid.Framework.Data.MySQL
78 } 79 }
79 catch (Exception e) 80 catch (Exception e)
80 { 81 {
82 database.Reconnect();
81 Console.WriteLine(e.ToString()); 83 Console.WriteLine(e.ToString());
82 return null; 84 return null;
83 } 85 }
@@ -116,6 +118,7 @@ namespace OpenGrid.Framework.Data.MySQL
116 } 118 }
117 catch (Exception e) 119 catch (Exception e)
118 { 120 {
121 database.Reconnect();
119 Console.WriteLine(e.ToString()); 122 Console.WriteLine(e.ToString());
120 return null; 123 return null;
121 } 124 }