Prevent cryptic log message when trying to generate thumbnail for non-existing file

Created on 1 September 2025, about 1 month ago

Problem/Motivation

When saving a media entity whose source file doesn't exist anymore, thumbnail generation fails with the following message:

Unable to probe

Proposed resolution

It's not the responsability of this module to warn about non-existing source files in logs, so let's just early return in the thumbnail generation process in case the source doesn't exist, without logging anything.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024