From 85b9f3b65e5a9f94d4f2f74fbef1bcf15249b2ea Mon Sep 17 00:00:00 2001 From: Sergio Mendolia Date: Sat, 2 Sep 2023 18:34:34 +0200 Subject: [PATCH] add some logging --- src/Twig/UploadBookPicture.php | 1 + 1 file changed, 1 insertion(+) 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();