File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
lib/internal/Magento/Framework/View/Page/Config/Reader Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,7 @@ public function getCriticalCssData()
53
53
$ asset = $ this ->assetRepo ->createAsset ($ this ->filePath , ['_secure ' => 'false ' ]);
54
54
$ content = $ asset ->getContent ();
55
55
} catch (NotFoundException $ e ) {
56
- throw new LocalizedException (__ (
57
- 'Cannot get critical css file data: "%1" ' ,
58
- $ e ->getMessage ()
59
- ));
56
+ $ content = '' ;
60
57
};
61
58
62
59
return $ content ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class Head implements Layout\ReaderInterface
34
34
/**#@-*/
35
35
36
36
/**
37
- * { @inheritdoc}
37
+ * @inheritdoc
38
38
*/
39
39
public function getSupportedNodes ()
40
40
{
@@ -63,7 +63,9 @@ protected function addContentTypeByNodeName(Layout\Element $node)
63
63
}
64
64
65
65
/**
66
- * {@inheritdoc}
66
+ * @param Layout\Reader\Context $readerContext
67
+ * @param Layout\Element $headElement
68
+ * @return $this|Layout\ReaderInterface
67
69
*/
68
70
public function interpret (
69
71
Layout \Reader \Context $ readerContext ,
You can’t perform that action at this time.
0 commit comments