]> git.immae.eu Git - github/wallabag/wallabag.git/commit
When a sub command fail, display error message 2413/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 9 Oct 2016 20:39:43 +0000 (22:39 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 9 Oct 2016 20:39:43 +0000 (22:39 +0200)
commit39a19bdf478583f9b63a2b1a98746a713e217c86
tree8fe481212f08080e02fc3f2a40b2a04ec83f3786
parent47508f004fe9a17a8012187f37032f4155d507f4
When a sub command fail, display error message

We often got issue with message “The command "doctrine:database:create" terminated with an error code: 1.”.

Using the `BufferedOutput` we can store the output and only display it if an error occurs.
src/Wallabag/CoreBundle/Command/InstallCommand.php