File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/Downloadable/Setup/Patch/Data Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,11 @@ private function addStoreAndWebsiteUrlsFromScope(Store $scope)
158
158
$ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_DIRECT_LINK , true ));
159
159
$ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_MEDIA , false ));
160
160
$ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_MEDIA , true ));
161
- $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , false ));
162
- $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , true ));
161
+
162
+ try {
163
+ $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , false ));
164
+ $ this ->addHost ($ scope ->getBaseUrl (UrlInterface::URL_TYPE_STATIC , true ));
165
+ } catch (\UnexpectedValueException $ e ) {} //@codingStandardsIgnoreLine
163
166
164
167
try {
165
168
$ website = $ scope ->getWebsite ();
You can’t perform that action at this time.
0 commit comments