based on recent unit test output, put some extra checking in the

RunAssetCache error code
0.6.5-rc1
Sean Dague 2009-04-23 17:38:08 +00:00
parent 07b435b2b9
commit 31bded51fb
1 changed files with 9 additions and 1 deletions

View File

@ -185,7 +185,15 @@ namespace OpenSim.Framework.Communications.Cache
} }
catch (Exception e) catch (Exception e)
{ {
m_log.Error("[ASSET CACHE]: " + e.ToString()); if (e != null)
{
m_log.ErrorFormat("[ASSET CACHE]: {0}", e);
}
else
{
// this looks weird, but we've seen this show up as an issue in unit tests, so leave it here until we know why
m_log.Error("[ASSET CACHE]: an exception was thrown in RunAssetManager, but is now null. Something is very wrong.");
}
} }
} }
} }