Skip to content

The Free Software Media System - Server Backend & API

improved exception logging

Luke Pulverenti82664bdae82e
diff --git a/MediaBrowser.Common.Implementations/Logging/LogHelper.cs b/MediaBrowser.Common.Implementations/Logging/LogHelper.cs
index 4afd302d5b..91e937ca7c 100644
--- a/MediaBrowser.Common.Implementations/Logging/LogHelper.cs
+++ b/MediaBrowser.Common.Implementations/Logging/LogHelper.cs
@@ -47,12 +47,14 @@ namespace MediaBrowser.Common.Implementations.Logging
foreach (var ex in aggregate.InnerExceptions)
{
AppendInnerException(messageText, ex);
+ AppendInnerExceptions(messageText, ex);
}
}
else if (e.InnerException != null)
{
AppendInnerException(messageText, e.InnerException);
+ AppendInnerExceptions(messageText, e.InnerException);
}
}