fix web project

This commit is contained in:
Luke Pulverenti
2015-02-03 01:57:45 -05:00
parent 75771927d6
commit 19f422fdd0
3 changed files with 78 additions and 72 deletions

View File

@@ -499,10 +499,17 @@ namespace MediaBrowser.Server.Implementations.Sync
{
var job = _repo.GetJob(jobItem.JobId);
if (job == null)
{
_logger.Error("GetJobItemInfo job id {0} no longer exists", jobItem.JobId);
return null;
}
var libraryItem = _libraryManager.GetItemById(jobItem.ItemId);
if (libraryItem == null)
{
_logger.Error("GetJobItemInfo library item with id {0} no longer exists", jobItem.ItemId);
return null;
}