Skip to content

Commit

Permalink
add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 2, 2023
1 parent 62943dd commit 85b9f3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Twig/UploadBookPicture.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 85b9f3b

Please sign in to comment.