Skip to content

Commit

Permalink
Show the site name (#340)
Browse files Browse the repository at this point in the history
* Show the site name

* Fixed indentation
  • Loading branch information
marcelovani authored and jmolivas committed Apr 22, 2018
1 parent 8ee1af0 commit fd5c856
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Utils/ConfigurationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,9 @@ public function getSites()

foreach ($environments as $environment => $config) {
if (!array_key_exists('type', $config)) {
throw new \UnexpectedValueException("The 'type' parameter is required in sites configuration.");
throw new \UnexpectedValueException(sprintf(
"The 'type' parameter is required in sites configuration:\n %s.", $site->getPathname())
);
}
if ($config['type'] !== 'local') {
if (array_key_exists('host', $config)) {
Expand Down

0 comments on commit fd5c856

Please sign in to comment.