Skip to content

Commit

Permalink
update startup error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed May 24, 2016
1 parent 7c0953a commit edf278d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions MediaBrowser.Common.Implementations/BaseApplicationHost.cs
Expand Up @@ -252,15 +252,7 @@ public virtual async Task Init(IProgress<double> progress)
var innerProgress = new ActionableProgress<double>();
innerProgress.RegisterAction(p => progress.Report(.8 * p + 15));

try
{
await RegisterResources(innerProgress).ConfigureAwait(false);
}
catch (Exception ex)
{
Logger.ErrorException("Error in RegisterResource", ex);
throw;
}
await RegisterResources(innerProgress).ConfigureAwait(false);

FindParts();
progress.Report(95);
Expand Down

0 comments on commit edf278d

Please sign in to comment.