diff --git a/server/src/services/media.service.ts b/server/src/services/media.service.ts index b48d00a7a8..3f25134741 100644 --- a/server/src/services/media.service.ts +++ b/server/src/services/media.service.ts @@ -255,9 +255,12 @@ export class MediaService { throw new UnsupportedMediaTypeException(`Unsupported asset type for thumbnail generation: ${asset.type}`); } } + + const assetLabel = asset.isExternal ? asset.originalPath : asset.id; this.logger.log( - `Successfully generated ${format.toUpperCase()} ${asset.type.toLowerCase()} ${type} for asset ${asset.id}`, + `Successfully generated ${format.toUpperCase()} ${asset.type.toLowerCase()} ${type} for asset ${assetLabel}`, ); + return path; }