diff --git a/lib/Bridge.php b/lib/Bridge.php index 7b6c475..dbff16b 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -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;