update select server

This commit is contained in:
Luke Pulverenti
2015-08-29 20:40:52 -04:00
parent 68aee65305
commit 0394d40397
3 changed files with 14 additions and 9 deletions

View File

@@ -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++;