mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:08:33 +00:00
update select server
This commit is contained in:
parent
68aee65305
commit
0394d40397
3 changed files with 14 additions and 9 deletions
|
|
@ -81,7 +81,18 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||
|
||||
if (item != null)
|
||||
{
|
||||
await _itemRepo.SaveItem(item, cancellationToken).ConfigureAwait(false);
|
||||
try
|
||||
{
|
||||
await _itemRepo.SaveItem(item, cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.ErrorException("Error saving item", ex);
|
||||
}
|
||||
}
|
||||
|
||||
numComplete++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue