|
@@ -38,7 +38,7 @@ |
|
|
block discarded – undo |
|
38
|
38
|
{ |
|
39
|
39
|
$dispatcher = new EventDispatcher(); |
|
40
|
40
|
|
|
41
|
|
- $dispatcher->addListener(ConsoleEvents::EXCEPTION, function (ConsoleExceptionEvent $event) { |
|
|
41
|
+ $dispatcher->addListener(ConsoleEvents::EXCEPTION, function(ConsoleExceptionEvent $event) { |
|
42
|
42
|
$output = $event->getOutput(); |
|
43
|
43
|
$command = $event->getCommand(); |
|
44
|
44
|
$output->writeln(sprintf('Oops, exception thrown while running command <info>%s</info>', $command->getName())); |
Please login to merge, or discard this patch.