From 5f150d3ae53c9c9597c19a9181915f59eb06226e Mon Sep 17 00:00:00 2001 From: Nicolas Delsaux Date: Tue, 18 Feb 2014 11:58:29 +0100 Subject: [PATCH] Outputting path to expected bridge should help newcomers feeling welcomed, no ? --- lib/Bridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Bridge.php b/lib/Bridge.php index 7b6c4751..dbff16b2 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;