Browse Source

improved exception logging

Luke Pulverenti 11 years ago
parent
commit
82664bdae8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      MediaBrowser.Common.Implementations/Logging/LogHelper.cs

+ 2 - 0
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);
             }
         }