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 46
46
use Magento \Framework \Setup \UpgradeSchemaInterface ;
47
47
use Magento \Framework \Validation \ValidationException ;
48
48
use Magento \PageCache \Model \Cache \Type as PageCache ;
49
+ use Magento \RemoteStorage \Driver \DriverException ;
49
50
use Magento \Setup \Console \Command \InstallCommand ;
50
51
use Magento \Setup \Controller \ResponseTypeInterface ;
51
52
use Magento \Setup \Exception ;
@@ -395,7 +396,7 @@ public function install($request)
395
396
try {
396
397
// phpcs:ignore Magento2.Functions.DiscouragedFunction
397
398
call_user_func_array ([$ this , $ method ], $ params );
398
- } catch (\ Exception $ e ) {
399
+ } catch (RuntimeException | DriverException $ e ) {
399
400
$ this ->revertRemoteStorageConfiguration ();
400
401
throw $ e ;
401
402
}
You can’t perform that action at this time.
0 commit comments