File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
setup/src/Magento/Setup/Model Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4646use Magento \Framework \Setup \UpgradeSchemaInterface ;
4747use Magento \Framework \Validation \ValidationException ;
4848use Magento \PageCache \Model \Cache \Type as PageCache ;
49+ use Magento \RemoteStorage \Driver \DriverException ;
4950use Magento \Setup \Console \Command \InstallCommand ;
5051use Magento \Setup \Controller \ResponseTypeInterface ;
5152use Magento \Setup \Exception ;
@@ -395,7 +396,7 @@ public function install($request)
395396 try {
396397 // phpcs:ignore Magento2.Functions.DiscouragedFunction
397398 call_user_func_array ([$ this , $ method ], $ params );
398- } catch (\ Exception $ e ) {
399+ } catch (RuntimeException | DriverException $ e ) {
399400 $ this ->revertRemoteStorageConfiguration ();
400401 throw $ e ;
401402 }
You can’t perform that action at this time.
0 commit comments