Be more verbose when leaving packages out due to size limits

This commit is contained in:
Steve McIntyre 2022-10-07 15:54:25 +01:00 committed by Steve McIntyre
parent 805b36d16b
commit 8c52820262
1 changed files with 2 additions and 1 deletions

View File

@ -885,7 +885,8 @@ sub add_package {
} }
if ($packages{$p}{"Size"} > $max_pkg_size) { if ($packages{$p}{"Size"} > $max_pkg_size) {
msg(2, "Can't add $p ... too big!\n"); $size = $packages{$p}{"Size"};
msg(2, "Can't add $p ... too big! ($size > $max_pkg_size)\n");
$excluded{$p} = 'toobig'; $excluded{$p} = 'toobig';
return; return;
} }