Skip to content

Commit

Permalink
fails on exception
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 6, 2023
1 parent ba64eba commit f203b36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Command/BooksScanCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$this->entityManager->flush();
}
} catch (\Exception $e) {
$io->error('died during process of '.$file->getRealPath());
$io->error($e->getMessage());
continue;
throw $e;
}
}
$io->writeln('');
Expand Down

0 comments on commit f203b36

Please sign in to comment.