8000 [FrameworkBundle] improved controller name parse error message · symfony/symfony@da41eb1 · GitHub
[go: up one dir, main page]

Skip to content

Commit da41eb1

Browse files
committed
[FrameworkBundle] improved controller name parse error message
1 parent ee0a074 commit da41eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function parse($controller)
7979
}
8080

8181
$bundles[] = $b->getName();
82-
$msg = sprintf('Unable to find controller "%s:%s" - class "%s" does not exist.', $bundle, $controller, $try);
82+
$msg = sprintf('The _controller value "%s:%s:%s" maps to a "%s" class, but this class was not found. Create this class or check the spelling of the class and its namespace.', $bundle, $controller, $action, $try);
8383
}
8484

8585
if (count($bundles) > 1) {

0 commit comments

Comments
 (0)
0