瀏覽代碼

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

Nicolas Delsaux 10 年之前
父節點
當前提交
5f150d3ae5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/Bridge.php

+ 2 - 2
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;