Esempio n. 1
0
 public function onItemError(ItemErrorEvent $event)
 {
     $this->writeln(sprintf('  ! DEBUG: Item error: %s', $event->getException()->getMessage()));
 }
Esempio n. 2
0
 public function onItemError(ItemErrorEvent $event)
 {
     $this->itemErrorCount++;
     $this->output->writeln(sprintf('  <error>Item error: "%s"</error>', $event->getException()->getMessage()));
 }
Esempio n. 3
0
 public function onItemError(ItemErrorEvent $event)
 {
     $this->logger->error($event->getException()->__toString());
 }