add startup logging

This commit is contained in:
Luke Pulverenti 2016-05-24 14:02:26 -04:00
parent 7b094f3f8a
commit 41d551b35d
1 changed files with 9 additions and 1 deletions

View File

@ -252,7 +252,15 @@ namespace MediaBrowser.Common.Implementations
var innerProgress = new ActionableProgress<double>();
innerProgress.RegisterAction(p => progress.Report(.8 * p + 15));
await RegisterResources(innerProgress).ConfigureAwait(false);
try
{
await RegisterResources(innerProgress).ConfigureAwait(false);
}
catch (Exception ex)
{
Logger.ErrorException("Error in RegisterResource", ex);
throw;
}
FindParts();
progress.Report(95);