We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c75ec commit 4d3bc7fCopy full SHA for 4d3bc7f
lib/internal/Magento/Framework/Image/Adapter/Gd2.php
@@ -75,7 +75,7 @@ public function open($filename)
75
$this->imageDestroy();
76
try {
77
$this->_imageHandler = call_user_func($this->_getCallback('create'), $this->_fileName);
78
- } catch (\Exception $ex) {
+ } catch (\Throwable $ex) {
79
throw new LocalizedException(__('Unsupported image format.'));
80
}
81
0 commit comments