aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLAssetData.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs b/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs
index d55d891..567412f 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs
@@ -98,8 +98,8 @@ namespace OpenSim.Framework.Data.MySQL
98 catch (Exception e) 98 catch (Exception e)
99 { 99 {
100 MainLog.Instance.Error( 100 MainLog.Instance.Error(
101 "ASSETS", "MySql failure fetching asset" + Environment.NewLine + e.ToString() 101 "ASSETS", "MySql failure fetching asset {0}" + Environment.NewLine + e.ToString()
102 + Environment.NewLine + "Attempting reconnection"); 102 + Environment.NewLine + "Attempting reconnection", assetID);
103 _dbConnection.Reconnect(); 103 _dbConnection.Reconnect();
104 } 104 }
105 } 105 }
@@ -135,8 +135,9 @@ namespace OpenSim.Framework.Data.MySQL
135 catch (Exception e) 135 catch (Exception e)
136 { 136 {
137 MainLog.Instance.Error( 137 MainLog.Instance.Error(
138 "ASSETS", "MySql failure creating asset" + Environment.NewLine + e.ToString() 138 "ASSETS",
139 + Environment.NewLine + "Attempting reconnection"); 139 "MySql failure creating asset {0} with name {1}" + Environment.NewLine + e.ToString()
140 + Environment.NewLine + "Attempting reconnection", asset.FullID, asset.Name);
140 _dbConnection.Reconnect(); 141 _dbConnection.Reconnect();
141 } 142 }
142 } 143 }