Skip to content

Commit 38529af

Browse files
committed
Log skipped pictures at the INFO level
1 parent a8f1fd9 commit 38529af

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pelican/plugins/image_process/image_process.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,7 @@ def try_open_image(path):
721721
try:
722722
i = Image.open(path)
723723
except UnidentifiedImageError:
724-
logger.warning(
725-
f'{LOG_PREFIX} Source image "{path}" is not supported by Pillow.'
726-
)
724+
logger.info(f'{LOG_PREFIX} Source image "{path}" is not supported by Pillow.')
727725
raise
728726
except FileNotFoundError:
729727
logger.warning(f'{LOG_PREFIX} Source image "{path}" not found.')

0 commit comments

Comments
 (0)