diff --git a/src/app/components/OutfitPreview.js b/src/app/components/OutfitPreview.js index 53e45df..6a1bbd3 100644 --- a/src/app/components/OutfitPreview.js +++ b/src/app/components/OutfitPreview.js @@ -212,7 +212,7 @@ function loadImage(url) { const image = new Image(); const promise = new Promise((resolve, reject) => { image.onload = () => resolve(); - image.onerror = () => reject(); + image.onerror = (e) => reject(e); image.src = url; }); promise.cancel = () => {