diff options
author | Justin Clarke Casey | 2008-02-04 17:07:37 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-04 17:07:37 +0000 |
commit | cd658ea845c9657440cfb6f0fa06809e71bdc054 (patch) | |
tree | cb2b032d4e2efe34f993e13e4647577ffd75bec2 /OpenSim/Framework | |
parent | Refactor only: serve stats objects directly through StatsManager singleton (diff) | |
download | opensim-SC-cd658ea845c9657440cfb6f0fa06809e71bdc054.zip opensim-SC-cd658ea845c9657440cfb6f0fa06809e71bdc054.tar.gz opensim-SC-cd658ea845c9657440cfb6f0fa06809e71bdc054.tar.bz2 opensim-SC-cd658ea845c9657440cfb6f0fa06809e71bdc054.tar.xz |
A smidgen more error info for the asset server
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLAssetData.cs | 9 |
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 | } |