diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index ad8d625..f214e19 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -185,7 +185,15 @@ namespace OpenSim.Framework.Communications.Cache | |||
185 | } | 185 | } |
186 | catch (Exception e) | 186 | catch (Exception e) |
187 | { | 187 | { |
188 | m_log.Error("[ASSET CACHE]: " + e.ToString()); | 188 | if (e != null) |
189 | { | ||
190 | m_log.ErrorFormat("[ASSET CACHE]: {0}", e); | ||
191 | } | ||
192 | else | ||
193 | { | ||
194 | // this looks weird, but we've seen this show up as an issue in unit tests, so leave it here until we know why | ||
195 | m_log.Error("[ASSET CACHE]: an exception was thrown in RunAssetManager, but is now null. Something is very wrong."); | ||
196 | } | ||
189 | } | 197 | } |
190 | } | 198 | } |
191 | } | 199 | } |