mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
fix web project
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user