File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,9 @@ private function fetchAllCategoriesWithUrlPathCalculatedByUrlKey()
163
163
if (array_key_exists ($ id , $ tempCatData )) {
164
164
$ calculatedUrlPath [] = $ tempCatData [$ id ]['url_key ' ];
165
165
} else {
166
- throw new LocalizedException (__ ("Can't find category with id: ' $ id' " ));
166
+ throw new LocalizedException (__ (
167
+ "Can't find category with id: ' $ id' (this id comes from a category's path attribute) "
168
+ ));
167
169
}
168
170
}
169
171
Original file line number Diff line number Diff line change 41
41
<dd><?= $ block ->escapeHtml ($ metadata ['initiator ' ] ?? '' ) ?> </dd>
42
42
<?php if (isset ($ metadata ['error ' ]) && $ metadata ['error ' ] !== '' ): ?>
43
43
<dt><?= $ block ->escapeHtml (__ ('Error ' )) ?> :</dt>
44
- <dd><?= $ block ->escapeHtml ($ metadata ['error ' ] ?? '' ) ?> </dd>
44
+ <dd style="color: red;" ><?= $ block ->escapeHtml ($ metadata ['error ' ] ?? '' ) ?> </dd>
45
45
<?php endif ; ?>
46
46
</dl>
47
47
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments