From 4c25008850f92bcc79502c71a0e4d34c883d27d0 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 8 Oct 2007 10:30:15 +0000 Subject: Applied patch 485, inventory patch from tleiades (thanks again). --- OpenSim/Framework/Data.MySQL/MySQLGridData.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework/Data.MySQL/MySQLGridData.cs') 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; using System.Text; using libsecondlife; +using OpenSim.Framework.Console; + namespace OpenSim.Framework.Data.MySQL { /// @@ -127,7 +129,7 @@ namespace OpenSim.Framework.Data.MySQL catch (Exception e) { database.Reconnect(); - Console.WriteLine(e.ToString()); + MainLog.Instance.Error(e.ToString()); return null; } } @@ -159,7 +161,7 @@ namespace OpenSim.Framework.Data.MySQL catch (Exception e) { database.Reconnect(); - Console.WriteLine(e.ToString()); + MainLog.Instance.Error(e.ToString()); return null; } } @@ -191,7 +193,7 @@ namespace OpenSim.Framework.Data.MySQL catch (Exception e) { database.Reconnect(); - Console.WriteLine(e.ToString()); + MainLog.Instance.Error(e.ToString()); return null; } } @@ -277,7 +279,7 @@ namespace OpenSim.Framework.Data.MySQL catch (Exception e) { database.Reconnect(); - Console.WriteLine(e.ToString()); + MainLog.Instance.Error(e.ToString()); return null; } } -- cgit v1.1