diff options
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLGridData.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLGridData.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs index 452434a..5709bf0 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs | |||
@@ -32,6 +32,8 @@ using System.Security.Cryptography; | |||
32 | using System.Text; | 32 | using System.Text; |
33 | using libsecondlife; | 33 | using libsecondlife; |
34 | 34 | ||
35 | using OpenSim.Framework.Console; | ||
36 | |||
35 | namespace OpenSim.Framework.Data.MySQL | 37 | namespace OpenSim.Framework.Data.MySQL |
36 | { | 38 | { |
37 | /// <summary> | 39 | /// <summary> |
@@ -127,7 +129,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
127 | catch (Exception e) | 129 | catch (Exception e) |
128 | { | 130 | { |
129 | database.Reconnect(); | 131 | database.Reconnect(); |
130 | Console.WriteLine(e.ToString()); | 132 | MainLog.Instance.Error(e.ToString()); |
131 | return null; | 133 | return null; |
132 | } | 134 | } |
133 | } | 135 | } |
@@ -159,7 +161,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
159 | catch (Exception e) | 161 | catch (Exception e) |
160 | { | 162 | { |
161 | database.Reconnect(); | 163 | database.Reconnect(); |
162 | Console.WriteLine(e.ToString()); | 164 | MainLog.Instance.Error(e.ToString()); |
163 | return null; | 165 | return null; |
164 | } | 166 | } |
165 | } | 167 | } |
@@ -191,7 +193,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
191 | catch (Exception e) | 193 | catch (Exception e) |
192 | { | 194 | { |
193 | database.Reconnect(); | 195 | database.Reconnect(); |
194 | Console.WriteLine(e.ToString()); | 196 | MainLog.Instance.Error(e.ToString()); |
195 | return null; | 197 | return null; |
196 | } | 198 | } |
197 | } | 199 | } |
@@ -277,7 +279,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
277 | catch (Exception e) | 279 | catch (Exception e) |
278 | { | 280 | { |
279 | database.Reconnect(); | 281 | database.Reconnect(); |
280 | Console.WriteLine(e.ToString()); | 282 | MainLog.Instance.Error(e.ToString()); |
281 | return null; | 283 | return null; |
282 | } | 284 | } |
283 | } | 285 | } |