Add a log line for debugging
This commit is contained in:
parent
957c2a64df
commit
b7292f2629
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ export const generateImageThumbnail = async (
|
|||
let thumbnail: Uint8Array;
|
||||
do {
|
||||
await execAsync(command);
|
||||
// TODO(MR): imagemagick debugging. Remove me after verifying logs.
|
||||
log.info(`Generated thumbnail using ${command.join(" ")}`);
|
||||
thumbnail = new Uint8Array(await fs.readFile(outputFilePath));
|
||||
quality -= 10;
|
||||
command = generateImageThumbnailCommand(
|
||||
|
|
Loading…
Add table
Reference in a new issue