فهرست منبع

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);
             }
         }