diff options
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLAssetData.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLAssetData.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs b/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs index f9ef699..0dfe671 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs | |||
@@ -100,9 +100,9 @@ namespace OpenSim.Framework.Data.MySQL | |||
100 | } | 100 | } |
101 | catch (Exception e) | 101 | catch (Exception e) |
102 | { | 102 | { |
103 | m_log.Error(String.Format( | 103 | m_log.ErrorFormat( |
104 | "[ASSETS]: MySql failure fetching asset {0}" + Environment.NewLine + e.ToString() | 104 | "[ASSETS]: MySql failure fetching asset {0}" + Environment.NewLine + e.ToString() |
105 | + Environment.NewLine + "Attempting reconnection", assetID)); | 105 | + Environment.NewLine + "Attempting reconnection", assetID); |
106 | _dbConnection.Reconnect(); | 106 | _dbConnection.Reconnect(); |
107 | } | 107 | } |
108 | } | 108 | } |
@@ -139,10 +139,10 @@ namespace OpenSim.Framework.Data.MySQL | |||
139 | } | 139 | } |
140 | catch (Exception e) | 140 | catch (Exception e) |
141 | { | 141 | { |
142 | m_log.Error(String.Format( | 142 | m_log.ErrorFormat( |
143 | "[ASSETS]: " + | 143 | "[ASSETS]: " + |
144 | "MySql failure creating asset {0} with name {1}" + Environment.NewLine + e.ToString() | 144 | "MySql failure creating asset {0} with name {1}" + Environment.NewLine + e.ToString() |
145 | + Environment.NewLine + "Attempting reconnection", asset.FullID, asset.Name)); | 145 | + Environment.NewLine + "Attempting reconnection", asset.FullID, asset.Name); |
146 | _dbConnection.Reconnect(); | 146 | _dbConnection.Reconnect(); |
147 | } | 147 | } |
148 | } | 148 | } |