From 82664bdae82ea0a7e13604e06c7356a8f7e828f9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 4 Oct 2013 16:39:16 -0400 Subject: [PATCH] improved exception logging --- MediaBrowser.Common.Implementations/Logging/LogHelper.cs | 2 ++ 1 file changed, 2 insertions(+) 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); } }