We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee1af0 commit fd5c856Copy full SHA for fd5c856
src/Utils/ConfigurationManager.php
@@ -419,7 +419,9 @@ public function getSites()
419
420
foreach ($environments as $environment => $config) {
421
if (!array_key_exists('type', $config)) {
422
- throw new \UnexpectedValueException("The 'type' parameter is required in sites configuration.");
+ throw new \UnexpectedValueException(sprintf(
423
+ "The 'type' parameter is required in sites configuration:\n %s.", $site->getPathname())
424
+ );
425
}
426
if ($config['type'] !== 'local') {
427
if (array_key_exists('host', $config)) {
0 commit comments