diff --git a/src/Twig/UploadBookPicture.php b/src/Twig/UploadBookPicture.php index 67c9f6e4..b1a0e1f6 100644 --- a/src/Twig/UploadBookPicture.php +++ b/src/Twig/UploadBookPicture.php @@ -46,6 +46,7 @@ public function uploadFiles(Request $request, LoggerInterface $logger, BookFileS $logger->info('uploading file '.$symfonyFile->getClientOriginalName()); $book = $fileSystemManager->uploadBookCover($symfonyFile, $this->book); + $logger->info('save book ', ['book' => $book]); $entityManager->persist($book); $entityManager->flush();