mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 04:45:35 +00:00
Log if ParsedMovieInfo is NULL.
This commit is contained in:
parent
8765155223
commit
712c0eb84a
1 changed files with 6 additions and 1 deletions
|
@ -226,7 +226,12 @@ private void Insert(DownloadDecision decision)
|
||||||
Title = decision.RemoteMovie.Release.Title,
|
Title = decision.RemoteMovie.Release.Title,
|
||||||
Added = DateTime.UtcNow
|
Added = DateTime.UtcNow
|
||||||
};
|
};
|
||||||
_repository.Insert(release);
|
if (release.ParsedMovieInfo == null)
|
||||||
|
{
|
||||||
|
_logger.Warn("Pending release {0} does not have ParsedMovieInfo, will cause issues.", release.Title);
|
||||||
|
}
|
||||||
|
|
||||||
|
_repository.Insert(release);
|
||||||
|
|
||||||
_eventAggregator.PublishEvent(new PendingReleasesUpdatedEvent());
|
_eventAggregator.PublishEvent(new PendingReleasesUpdatedEvent());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue