Skip to content

Commit 3bc62e6

Browse files
cscd98mageprince
authored andcommitted
Add with code/with id text
1 parent 3520de6 commit 3bc62e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Store/Model/WebsiteRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function get($code)
7878

7979
if ($website->getId() === null) {
8080
throw new NoSuchEntityException(
81-
__(sprintf("The website %s that was requested wasn't found. Verify the website and try again.", $code))
81+
__(sprintf("The website with code %s that was requested wasn't found. Verify the website and try again.", $code))
8282
);
8383
}
8484
$this->entities[$code] = $website;
@@ -102,7 +102,7 @@ public function getById($id)
102102

103103
if ($website->getId() === null) {
104104
throw new NoSuchEntityException(
105-
__(sprintf("The website %s that was requested wasn't found. Verify the website and try again.", $id))
105+
__(sprintf("The website with id %s that was requested wasn't found. Verify the website and try again.", $id))
106106
);
107107
}
108108
$this->entities[$website->getCode()] = $website;

0 commit comments

Comments
 (0)