Skip to content

Commit 8e3edf1

Browse files
author
OlgaVasyltsun
committed
MC-19132: Child product image of configurable product not displayed
1 parent d525030 commit 8e3edf1

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Image/Adapter

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Image/Adapter/Gd2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ private function _fillBackgroundColor(&$imageResourceTo)
297297
return $transparentColor;
298298
}
299299
} catch (\Exception $e) {
300-
throw new \DomainException('Failed to fill image.');
300+
// fallback to default background color
301301
}
302302
}
303303
list($r, $g, $b) = $this->_backgroundColor;

0 commit comments

Comments
 (0)