Outputting path to expected bridge should help newcomers feeling welcomed, no ?
This commit is contained in:
parent
1644a855ee
commit
5f150d3ae5
@ -92,9 +92,9 @@ class Bridge{
|
||||
}
|
||||
|
||||
$pathBridge = self::getDir() . $nameBridge . '.php';
|
||||
|
||||
|
||||
if( !file_exists($pathBridge) ){
|
||||
throw new \Exception('The bridge you looking for does not exist.');
|
||||
throw new \Exception('The bridge you looking for does not exist. It should be at path '.$pathBridge);
|
||||
}
|
||||
|
||||
require_once $pathBridge;
|
||||
|
Loading…
x
Reference in New Issue
Block a user