Skip to content

Commit

Permalink
set warning when skipping files
Browse files Browse the repository at this point in the history
  • Loading branch information
ladrians committed Nov 8, 2024
1 parent 6cb1ffe commit e55c542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amazon_s3/s3reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def get_files_from_url(self) -> list[str]:
if file_type is not None and not self.is_supported_extension(file_type.lower()):
skip_count += 1
self.skip_dict[doc_num] = item
logging.getLogger().debug(f"{doc_num} with '{file_type}' extension discarded")
logging.getLogger().warning(f"{doc_num} '{doc_name}' with '{file_type}' extension discarded")
continue

original_key = f"{self.prefix}/{doc_num}" if self.prefix else doc_num
Expand Down

0 comments on commit e55c542

Please sign in to comment.