]> _ Git - psq.git/commitdiff
#7454 @0.75
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 May 2025 16:25:48 +0000 (18:25 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 May 2025 16:25:48 +0000 (18:25 +0200)
app/Console/Commands/ConvertArchivesToFluidbook.php

index 4023cfebc4a0f6746e42a70246dc1c235d68727b..a534398de816e9f09251f9dde634a520fbd0ab13 100644 (file)
@@ -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'),