|
|
|
@ -87,7 +87,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
|
|
|
|
if (subject.Release.Size > maxSize)
|
|
|
|
|
{
|
|
|
|
|
_logger.Debug("Item: {0}, Size: {1} is greater than maximum allowed size ({2}), rejecting.", subject, subject.Release.Size, maxSize);
|
|
|
|
|
return Decision.Reject("{0} is larger than maximum allowed: {1}", subject.Release.Size, maxSize);
|
|
|
|
|
return Decision.Reject("{0} is larger than maximum allowed: {1}", subject.Release.Size.SizeSuffix(), maxSize.SizeSuffix());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|