Merge pull request #2397 from softworkz/SyncFix
Graciously handle transfer status reporting for SyncJobItems
This commit is contained in:
commit
e1da9c18a6
|
@ -560,6 +560,12 @@ namespace Emby.Server.Implementations.Sync
|
|||
{
|
||||
var jobItem = _repo.GetJobItem(id);
|
||||
|
||||
if (jobItem == null)
|
||||
{
|
||||
_logger.Debug("ReportSyncJobItemTransferred: SyncJobItem {0} doesn't exist anymore", id);
|
||||
return;
|
||||
}
|
||||
|
||||
jobItem.Status = SyncJobItemStatus.Synced;
|
||||
jobItem.Progress = 100;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user