Check for option verbose instead of get it.
This avoid crashing when called by daemonise command.
This commit is contained in:
parent
f09ed3edad
commit
8bc043065a
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class RunCommand extends Command
|
|||
|
||||
// For verbose mode we want to output all informational and above
|
||||
// messages to the symphony output interface.
|
||||
if ($input->getOption('verbose')) {
|
||||
if ($input->hasOption('verbose')) {
|
||||
$this->logger->pushHandler(
|
||||
new OutputLogHandler($this->output, Logger::INFO)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue