File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/Downloadable/Setup Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,11 @@ private function addStoreAndWebsiteUrlsFromScope(Store $scope)
192
192
$ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_DIRECT_LINK , true ));
193
193
$ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_MEDIA , false ));
194
194
$ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_MEDIA , true ));
195
- $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , false ));
196
- $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , true ));
195
+
196
+ try {
197
+ $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , false ));
198
+ $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , true ));
199
+ } catch (\UnexpectedValueException $ e ) {} //@codingStandardsIgnoreLine
197
200
198
201
try {
199
202
$ website = $ scope ->getWebsite ();
You can’t perform that action at this time.
0 commit comments