improved exception logging

This commit is contained in:
Luke Pulverenti 2013-10-04 16:39:16 -04:00
parent 54a5d63a61
commit 82664bdae8

View File

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