mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
based on recent unit test output, put some extra checking in the
RunAssetCache error code
This commit is contained in:
@@ -185,7 +185,15 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
}
|
||||
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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user