Outputting path to expected bridge should help newcomers feeling welcomed, no ?

This commit is contained in:
Nicolas Delsaux 2014-02-18 11:58:29 +01:00
parent 1644a855ee
commit 5f150d3ae5

View file

@ -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;