[Feature] Add filepath of the file causing errors on AssetGenerateThumbnails #20752
julpoppi
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
I have stacktrace of an error in AssetGenerateThumbnails, generated by three files (in an external library I think) :
[Nest] 7 - 08/07/2025, 12:00:00 AM LOG [Microservices:LibraryService] Scanning library 22cdfc0b-031c-4ac7-bac4-4cfdc39ec325 for assets missing from disk... [Nest] 7 - 08/07/2025, 12:00:00 AM ERROR [Microservices:{"id":"659a07c7-78a0-479b-b9b4-5e6367a98f8d"}] Unable to run job handler (AssetGenerateThumbnails): Error: Input file contains unsupported image format Error: Input file contains unsupported image format at Sharp.toBuffer (/usr/src/app/server/node_modules/sharp/lib/output.js:163:17) at MediaRepository.decodeImage (/usr/src/app/server/dist/repositories/media.repository.js:105:68) at MediaService.decodeImage (/usr/src/app/server/dist/services/media.service.js:177:59) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async MediaService.generateImageThumbnails (/usr/src/app/server/dist/services/media.service.js:189:44) at async MediaService.handleGenerateThumbnails (/usr/src/app/server/dist/services/media.service.js:116:25) at async JobService.onJobStart (/usr/src/app/server/dist/services/job.service.js:198:28) at async EventRepository.onEvent (/usr/src/app/server/dist/repositories/event.repository.js:126:13) at async /usr/src/app/server/node_modules/bullmq/dist/cjs/classes/worker.js:499:32 at async Worker.retryIfFailed (/usr/src/app/server/node_modules/bullmq/dist/cjs/classes/worker.js:775:24)
However, I have no clue of which files are causing the error, so that I can deal with it (and also see if it is an excepted behavior).
It would be wise to have the filepath of the file that is causing the error ?
Platform
Beta Was this translation helpful? Give feedback.
All reactions