From 55ef926d0d78c159a212fb79acd18dd546fe9038 Mon Sep 17 00:00:00 2001 From: Oleguer Llopart Date: Wed, 18 Dec 2024 11:04:04 +0100 Subject: [PATCH] Upd: image.js --- scripts/image.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/image.js b/scripts/image.js index 5d380be5..c478f3a5 100644 --- a/scripts/image.js +++ b/scripts/image.js @@ -87,9 +87,9 @@ async function _resize(fromImage, toImage, config = {}, resolve, reject, deep = deep++; if(deep > 3) - console.warn('Warning: Trying once more in '+(100 * deep)+'ms with failOn: none | '+fromImage, error); + console.warn('Warning: Image resizing failed, Trying once more in '+(100 * deep)+'ms with failOn: none | '+fromImage, error); else - console.log('Log: Trying again in '+(100 * deep)+'ms | '+fromImage, error); + console.log('Log: Image resizing failed, Trying again in '+(100 * deep)+'ms | '+fromImage, error); await app.sleep(100 * deep); _resize(fromImage, toImage, config, resolve, reject, deep);