add smb fixes

This commit is contained in:
Luke Pulverenti
2017-05-10 15:12:03 -04:00
parent e9ea1d4ce2
commit 369df3ffda
14 changed files with 26 additions and 15 deletions

View File

@@ -26,6 +26,8 @@ namespace Emby.Server.Implementations.Library.Validators
while (yearNumber < maxYear)
{
cancellationToken.ThrowIfCancellationRequested();
try
{
var year = _libraryManager.GetYear(yearNumber);
@@ -35,7 +37,7 @@ namespace Emby.Server.Implementations.Library.Validators
catch (OperationCanceledException)
{
// Don't clutter the log
break;
throw;
}
catch (Exception ex)
{