Browse Source

improved exception logging

Luke Pulverenti 11 năm trước cách đây
mục cha
commit
82664bdae8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);
             }
         }