From: Vincent Vanwaelscappel Date: Mon, 19 May 2025 16:25:48 +0000 (+0200) Subject: #7454 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d56d607ac8e1a5080ea2061c53b947a1614fc125;p=psq.git #7454 @0.75 --- diff --git a/app/Console/Commands/ConvertArchivesToFluidbook.php b/app/Console/Commands/ConvertArchivesToFluidbook.php index 4023cfe..a534398 100644 --- a/app/Console/Commands/ConvertArchivesToFluidbook.php +++ b/app/Console/Commands/ConvertArchivesToFluidbook.php @@ -26,6 +26,10 @@ class ConvertArchivesToFluidbook extends Command continue; } $path = \Storage::disk('local')->path($pdf->pdfPath); + if (!file_exists($path)) { + Cache::forever($cacheKey, true); + continue; + } $client->createFluidbook( new \SplFileInfo($path), config('fluidbook.base_fluidbook'),