Add details of the path to aid debugging
parent
e62478ab89
commit
e910e06f63
|
@ -128,7 +128,7 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
|
||||||
$urlMatches = $this->getUrlMatches();
|
$urlMatches = $this->getUrlMatches();
|
||||||
|
|
||||||
if (empty($urlMatches)) {
|
if (empty($urlMatches)) {
|
||||||
throw new \RuntimeException('The `url` supplied for the path repository does not exist');
|
throw new \RuntimeException('The `url` supplied for the path (' . $this->url . ') repository does not exist');
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($urlMatches as $url) {
|
foreach ($urlMatches as $url) {
|
||||||
|
|
Loading…
Reference in New Issue