based on recent unit test output, put some extra checking in the
RunAssetCache error code0.6.5-rc1
parent
07b435b2b9
commit
31bded51fb
|
@ -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.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue