Fixed: Error logged when notification fails to send after episode file is deleted

Closes #4289
This commit is contained in:
Mark McDowall 2021-02-09 07:55:25 -08:00
parent ae196af2ad
commit 694360457d
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ namespace NzbDrone.Core.Notifications
if (message.EpisodeFile.Episodes.Value.Empty())
{
_logger.Trace("Skipping notification for deleted file without an episode (episode metadata was removed)");
return;
}
var deleteMessage = new EpisodeDeleteMessage();