Fabien Potencier 14 tahun lalu
induk
melakukan
183c8c6f6c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/Symfony/Component/HttpKernel/HttpKernel.php

+ 1 - 1
src/Symfony/Component/HttpKernel/HttpKernel.php

@@ -89,7 +89,7 @@ class HttpKernel implements HttpKernelInterface
 
 
         // load controller
         // load controller
         if (false === $controller = $this->resolver->getController($request)) {
         if (false === $controller = $this->resolver->getController($request)) {
-            throw new NotFoundHttpException('Unable to find the controller for '.$request->getPathInfo().', check your route configuration.');
+            throw new NotFoundHttpException(sprintf('Unable to find the controller for "%s", check your route configuration.', $request->getPathInfo()));
         }
         }
 
 
         $event = new Event($this, 'core.controller', array('request_type' => $type, 'request' => $request));
         $event = new Event($this, 'core.controller', array('request_type' => $type, 'request' => $request));