Skip to content

Commit

Permalink
minor #28996 [FrameworkBundle] Fix broken exception message (chalasr)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.8 branch.

Discussion
----------

[FrameworkBundle] Fix broken exception message

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

![](https://i.imgur.com/GmBhlqv.png)

Commits
-------

8e9860c [FrameworkBundle] Fix broken exception message
  • Loading branch information
fabpot committed Oct 27, 2018
2 parents 060751d + 8e9860c commit 5c3d826
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -108,7 +108,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$currentName = $transPaths[0];

if (!is_dir($transPaths[0])) {
throw new \InvalidArgumentException(sprintf('<error>"%s" is neither an enabled bundle nor a directory.</error>', $transPaths[0]));
throw new \InvalidArgumentException(sprintf('"%s" is neither an enabled bundle nor a directory.', $transPaths[0]));
}
}
}
Expand Down

0 comments on commit 5c3d826

Please sign in to comment.