Skip to content

Commit 175ff68

Browse files
committed
MC-16607: Fix Unrelated Static Test Failures
- revert fix and use phpcs:disable
1 parent fe4c8a4 commit 175ff68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Email/Model/Template/Filter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,8 @@ public function getCssFilesContent(array $files)
956956
}
957957
} catch (ContentProcessorException $exception) {
958958
$css = $exception->getMessage();
959-
} catch (\Exception $exception) {
959+
// phpcs:disable Magento2.Exceptions.ThrowCatch
960+
} catch (\Magento\Framework\View\Asset\File\NotFoundException $exception) {
960961
$css = '';
961962
}
962963

0 commit comments

Comments
 (0)