Skip to content

Commit 85fe3ca

Browse files
committed
external exceptions usage replaced with the wrapped
1 parent 507f652 commit 85fe3ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery;
1515

1616
use Magento\Backend\Block\DataProviders\ImageUploadConfig as ImageUploadConfigDataProvider;
17-
use League\Flysystem\FileNotFoundException;
17+
use Magento\Framework\Storage\FileNotFoundException;
1818
use Magento\Framework\App\ObjectManager;
1919
use Magento\Backend\Block\Media\Uploader;
2020
use Magento\Framework\Storage\StorageProvider;

app/code/Magento/Catalog/Block/Product/Gallery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
namespace Magento\Catalog\Block\Product;
1313

14-
use League\Flysystem\FileNotFoundException;
14+
use Magento\Framework\Storage\FileNotFoundException;
1515
use Magento\Catalog\Model\Product;
1616
use Magento\Catalog\Model\Product\Media\Config;
1717
use Magento\Framework\App\ObjectManager;

0 commit comments

Comments
 (0)