1
0
Fork 0

Usability fix

pull/454/merge
Jordi Boggiano 2012-03-15 01:13:25 +01:00
parent 7c97abec8c
commit b855643865
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class RootPackageLoader extends ArrayLoader
throw new \UnexpectedValueException('Repository '.$index.' should be an array, '.gettype($repo).' given');
}
if (!isset($repo['type'])) {
throw new \UnexpectedValueException('Repository '.$index.' must have a type defined');
throw new \UnexpectedValueException('Repository '.$index.' ('.json_encode($repo).') must have a type defined');
}
$repository = $this->manager->createRepository($repo['type'], $repo);
$this->manager->addRepository($repository);