Example #1
0
 public function onTaskRunError(TaskRunErrorEvent $event)
 {
     $this->output->writeln(sprintf('<error>+ DEBUG: Task run error %s</error>', $event->getException()->getMessage()));
 }
Example #2
0
 public function onTaskRunError(TaskRunErrorEvent $event)
 {
     $this->logger->error($event->getException()->getMessage());
 }