1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-17 10:45:49 +02:00

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

View File

@ -198,6 +198,8 @@ public void Handle(EpisodeFileDeletedEvent message)
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();