X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fimage-utils.ts;h=5f254a7aaf04594de6af26331ef667b8c0b23eef;hb=c1961762b31567057e32eb7432a6995a4a81075c;hp=f2f6a004f7ede83514013810f956ab1b73830c7c;hpb=17aa80ed016bafa3ccb071af3f86054033823284;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/image-utils.ts b/server/helpers/image-utils.ts index f2f6a004f..5f254a7aa 100644 --- a/server/helpers/image-utils.ts +++ b/server/helpers/image-utils.ts @@ -21,7 +21,7 @@ async function processImage ( try { jimpInstance = await Jimp.read(path) } catch (err) { - logger.debug('Cannot read %s with jimp. Try to convert the image using ffmpeg first.', { err }) + logger.debug('Cannot read %s with jimp. Try to convert the image using ffmpeg first.', path, { err }) const newName = path + '.jpg' await convertWebPToJPG(path, newName)