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

@ -94,7 +94,7 @@ class Bridge{
$pathBridge = self::getDir() . $nameBridge . '.php'; $pathBridge = self::getDir() . $nameBridge . '.php';
if( !file_exists($pathBridge) ){ 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; require_once $pathBridge;