|
@@ -46,7 +46,7 @@ |
|
|
block discarded – undo |
|
46
|
46
|
$dispatcher = new EventDispatcher(); |
|
47
|
47
|
$this->setDispatcher($dispatcher); |
|
48
|
48
|
|
|
49
|
|
- $dispatcher->addListener(ConsoleEvents::ERROR, function (ConsoleErrorEvent $event) { |
|
|
49
|
+ $dispatcher->addListener(ConsoleEvents::ERROR, function(ConsoleErrorEvent $event) { |
|
50
|
50
|
$output = $event->getOutput(); |
|
51
|
51
|
$command = $event->getCommand(); |
|
52
|
52
|
$output->writeln(sprintf('Oops, exception thrown while running command <info>%s</info>', $command->getName())); |
Please login to merge, or discard this patch.