Fixed: Logging file release group for repack

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/3927/head
Qstick 5 years ago
parent 7cd270d534
commit a7e066fc11

@ -50,10 +50,10 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
if (!fileReleaseGroup.Equals(releaseGroup, StringComparison.InvariantCultureIgnoreCase)) if (!fileReleaseGroup.Equals(releaseGroup, StringComparison.InvariantCultureIgnoreCase))
{ {
_logger.Debug( _logger.Debug(
"Release is a repack for a different release group. Release Group: {0}. File release group: {0}", "Release is a repack for a different release group. Release Group: {0}. File release group: {1}",
releaseGroup, fileReleaseGroup); releaseGroup, fileReleaseGroup);
return Decision.Reject( return Decision.Reject(
"Release is a repack for a different release group. Release Group: {0}. File release group: {0}", "Release is a repack for a different release group. Release Group: {0}. File release group: {1}",
releaseGroup, fileReleaseGroup); releaseGroup, fileReleaseGroup);
} }
} }

Loading…
Cancel
Save