Explorar o código

improved exception logging

Luke Pulverenti %!s(int64=11) %!d(string=hai) anos
pai
achega
82664bdae8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);
             }
         }