aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLUserData.cs')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLUserData.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
index 301550f..915f54b 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
@@ -30,6 +30,7 @@ using System.Collections.Generic;
30using System.Data; 30using System.Data;
31using libsecondlife; 31using libsecondlife;
32using OpenSim.Framework.Types; 32using OpenSim.Framework.Types;
33using OpenSim.Framework.Console;
33 34
34namespace OpenSim.Framework.Data.MySQL 35namespace OpenSim.Framework.Data.MySQL
35{ 36{
@@ -101,7 +102,7 @@ namespace OpenSim.Framework.Data.MySQL
101 catch (Exception e) 102 catch (Exception e)
102 { 103 {
103 database.Reconnect(); 104 database.Reconnect();
104 Console.WriteLine(e.ToString()); 105 MainLog.Instance.Error(e.ToString());
105 return null; 106 return null;
106 } 107 }
107 } 108 }
@@ -134,7 +135,7 @@ namespace OpenSim.Framework.Data.MySQL
134 catch (Exception e) 135 catch (Exception e)
135 { 136 {
136 database.Reconnect(); 137 database.Reconnect();
137 Console.WriteLine(e.ToString()); 138 MainLog.Instance.Error(e.ToString());
138 return null; 139 return null;
139 } 140 }
140 } 141 }
@@ -189,7 +190,7 @@ namespace OpenSim.Framework.Data.MySQL
189 catch (Exception e) 190 catch (Exception e)
190 { 191 {
191 database.Reconnect(); 192 database.Reconnect();
192 Console.WriteLine(e.ToString()); 193 MainLog.Instance.Error(e.ToString());
193 return null; 194 return null;
194 } 195 }
195 } 196 }
@@ -212,7 +213,7 @@ namespace OpenSim.Framework.Data.MySQL
212 catch (Exception e) 213 catch (Exception e)
213 { 214 {
214 database.Reconnect(); 215 database.Reconnect();
215 Console.WriteLine(e.ToString()); 216 MainLog.Instance.Error(e.ToString());
216 } 217 }
217 218
218 } 219 }