Skip to content

Commit 2feed60

Browse files
committed
Add with code/with id text
1 parent fbefc61 commit 2feed60

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
@@ -79,7 +79,7 @@ public function get($code)
7979

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

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

0 commit comments

Comments
 (0)