mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Return decisions when catching exceptions during decision making
Fixed: Manual Import not showing files that failed to process Closes #1131
This commit is contained in:
@@ -96,6 +96,9 @@ namespace NzbDrone.Core.DecisionEngine
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.Error(e, "Couldn't process release.");
|
||||
|
||||
var remoteEpisode = new RemoteEpisode { Release = report };
|
||||
decision = new DownloadDecision(remoteEpisode, new Rejection("Unexpected error processing release"));
|
||||
}
|
||||
|
||||
reportNumber++;
|
||||
|
||||
Reference in New Issue
Block a user