mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 18:42:52 -07:00
add startup logging
This commit is contained in:
parent
f31a1da48f
commit
3b4975323c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user