From cd658ea845c9657440cfb6f0fa06809e71bdc054 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 4 Feb 2008 17:07:37 +0000 Subject: A smidgen more error info for the asset server --- OpenSim/Framework/Data.MySQL/MySQLAssetData.cs | 9 +++++---- 1 file 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 catch (Exception e) { MainLog.Instance.Error( - "ASSETS", "MySql failure fetching asset" + Environment.NewLine + e.ToString() - + Environment.NewLine + "Attempting reconnection"); + "ASSETS", "MySql failure fetching asset {0}" + Environment.NewLine + e.ToString() + + Environment.NewLine + "Attempting reconnection", assetID); _dbConnection.Reconnect(); } } @@ -135,8 +135,9 @@ namespace OpenSim.Framework.Data.MySQL catch (Exception e) { MainLog.Instance.Error( - "ASSETS", "MySql failure creating asset" + Environment.NewLine + e.ToString() - + Environment.NewLine + "Attempting reconnection"); + "ASSETS", + "MySql failure creating asset {0} with name {1}" + Environment.NewLine + e.ToString() + + Environment.NewLine + "Attempting reconnection", asset.FullID, asset.Name); _dbConnection.Reconnect(); } } -- cgit v1.1