8000 minor #12026 [FrameworkBundle] output failed matched path for clarifi… · symfony/symfony@45ac2c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 45ac2c4

Browse files
committed
minor #12026 [FrameworkBundle] output failed matched path for clarification (Tobion)
This PR was merged into the 2.3 branch. Discussion ---------- [FrameworkBundle] output failed matched path for clarification | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #11780 | License | MIT | Doc PR | - Because cygwin resolves the path behind the scenes, it is otherwise very unclear what path is actually used for matching. Commits ------- 8d13af7 [FrameworkBundle] output failed matched path for clarification
2 parents 89d6bb7 + 8d13af7 commit 45ac2c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/RouterMatchCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8989
}
9090

9191
if (!$matches) {
92-
$output->writeln('<fg=red>None of the routes match</>');
92+
$output->writeln(sprintf('<fg=red>None of the routes match the path "%s"</>', $input->getArgument('path_info')));
9393

9494
return 1;
9595
}

0 commit comments

Comments
 (0)
0