Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions backend/app/utils/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ def image_util_prepare_image_records(
"isTagged": False,
}
)
else:
# Thumbnail generation failed - log warning and skip image
logger.warning(
f"Image skipped: Failed to generate thumbnail for {image_path}. "
f"The image will not be added to the database."
)

return image_records

Expand Down