ソースを参照

improved exception logging

Luke Pulverenti 11 年 前
コミット
82664bdae8
1 ファイル変更2 行追加0 行削除
  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);
             }
         }