Rethrow path repo init failures with path information, closes #10845
parent
5c68c2c86d
commit
5730c24c92
|
@ -213,7 +213,11 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->addPackage($this->loader->load($package));
|
try {
|
||||||
|
$this->addPackage($this->loader->load($package));
|
||||||
|
} catch (\Exception $e) {
|
||||||
|
throw new \RuntimeException('Failed loading the package in '.$composerFilePath, 0, $e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue