mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
update debug message
This commit is contained in:
parent
a46c951e60
commit
7411a20a38
1 changed files with 4 additions and 2 deletions
|
|
@ -143,14 +143,16 @@ async fn main() -> Result<()> {
|
|||
.is_some_and(|limit| only_files.len() + 1 > limit)
|
||||
{
|
||||
log::debug!(
|
||||
"file count limit reached, skip file `{id}` for `{i}` at `{}`",
|
||||
"file count limit ({}) reached, skip file `{id}` for `{i}` at `{}` (and other files after it)",
|
||||
only_files.len(),
|
||||
info.relative_filename.to_string_lossy()
|
||||
);
|
||||
break;
|
||||
}
|
||||
if preload.max_filesize.is_some_and(|limit| info.len > limit) {
|
||||
log::debug!(
|
||||
"file size limit reached, skip file `{id}` for `{i}` at `{}`",
|
||||
"file size ({} B) limit reached, skip file `{id}` for `{i}` at `{}`",
|
||||
info.len,
|
||||
info.relative_filename.to_string_lossy()
|
||||
);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue