diff --git a/app/soapbox/utils/resize_image.js b/app/soapbox/utils/resize_image.js index d801cc200..939653b6b 100644 --- a/app/soapbox/utils/resize_image.js +++ b/app/soapbox/utils/resize_image.js @@ -189,6 +189,9 @@ export default (inputFile, maxPixels = DEFAULT_MAX_PIXELS) => new Promise((resol resizeImage(img, inputFile, maxPixels) .then(resolve) - .catch(() => resolve(inputFile)); + .catch(error => { + console.error(error); + resolve(inputFile); + }); }).catch(() => resolve(inputFile)); });