Fixed: Manual Interaction Required with possible null movie

Prevent a NullRef when the notification is sent due to an invalid movie title

Fixes #10053
pull/10043/head
Bogdan 6 months ago
parent e8c925274a
commit 0c654377f4

@ -254,7 +254,7 @@ namespace NzbDrone.Core.Notifications
public void Handle(ManualInteractionRequiredEvent message)
{
var movie = message.RemoteMovie.Movie;
var movie = message.RemoteMovie?.Movie;
var mess = "";
if (movie != null)
@ -276,7 +276,7 @@ namespace NzbDrone.Core.Notifications
{
Message = mess,
Movie = movie,
Quality = message.RemoteMovie.ParsedMovieInfo.Quality,
Quality = message.RemoteMovie?.ParsedMovieInfo.Quality,
RemoteMovie = message.RemoteMovie,
TrackedDownload = message.TrackedDownload,
DownloadClientInfo = message.TrackedDownload.DownloadItem?.DownloadClientInfo,

Loading…
Cancel
Save