Skip to content

Commit b536ccb

Browse files
committed
MC-18221: remove todo and exclusions of exception
remove Required Refactoring see MC-19410 comments phpcs:disable Magento2.Exceptions.ThrowCatch
1 parent aad0633 commit b536ccb

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

app/code/Magento/Backup/Controller/Adminhtml/Index/Rollback.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ public function execute()
127127
$adminSession->destroy();
128128

129129
$response->setRedirectUrl($this->getUrl('*'));
130-
// Required Refactoring see MC-19410
131-
// phpcs:disable Magento2.Exceptions.ThrowCatch
132130
} catch (\Magento\Framework\Backup\Exception\CantLoadSnapshot $e) {
133131
$errorMsg = __('We can\'t find the backup file.');
134132
} catch (\Magento\Framework\Backup\Exception\FtpConnectionFailed $e) {

app/code/Magento/Theme/Controller/Adminhtml/System/Design/Theme/UploadJs.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ public function execute()
5252
\Magento\Framework\View\Design\Theme\Customization\File\Js::TYPE
5353
);
5454
$result = ['error' => false, 'files' => $customization->generateFileInfo($customJsFiles)];
55-
// Required Refactoring see MC-19410
56-
// phpcs:disable Magento2.Exceptions.ThrowCatch
5755
} catch (\Magento\Framework\Exception\LocalizedException $e) {
5856
$result = ['error' => true, 'message' => $e->getMessage()];
5957
} catch (\Exception $e) {

setup/src/Magento/Setup/Console/Command/ModuleConfigStatusCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
9797
$output->writeln(
9898
'<info>The modules configuration is up to date.</info>'
9999
);
100-
// Required Refactoring see MC-19410
101100
// phpcs:disable Magento2.Exceptions.ThrowCatch
102101
} catch (\Exception $e) {
103102
$output->writeln('<error>' . $e->getMessage() . '</error>');

0 commit comments

Comments
 (0)