Skip to content

Commit

Permalink
Improve Custom Format rejection messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerboy448 committed Feb 7, 2024
1 parent 63e132d commit cac97c0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ public Decision IsSatisfiedBy(LocalEpisode localEpisode, DownloadClientItem down
currentFormats != null ? currentFormats.ConcatToString() : "",
currentFormatScore);

return Decision.Reject("Not a Custom Format upgrade for existing episode file(s)");
return Decision.Reject("Not a Custom Format upgrade for existing episode file(s). New: [{0}] ({1}) do not improve on Existing: [{2}] ({3})",
newFormats != null ? newFormats.ConcatToString() : "",
newFormatScore,
currentFormats != null ? currentFormats.ConcatToString() : "",
currentFormatScore);
}

_logger.Debug("New item's custom formats [{0}] ({1}) improve on [{2}] ({3}), accepting",
Expand Down

0 comments on commit cac97c0

Please sign in to comment.