From e542e60dbcb688d28f1335d20709555c0528e8cd Mon Sep 17 00:00:00 2001 From: Glandos Date: Sun, 13 Nov 2022 22:20:16 +0100 Subject: [PATCH] try to make linters happy Signed-off-by: Glandos --- lib/private/Preview/Generator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php index 10a02d15fa1a7..ed9474fafb217 100644 --- a/lib/private/Preview/Generator.php +++ b/lib/private/Preview/Generator.php @@ -236,7 +236,7 @@ public function generatePreviews(File $file, array $specifications, $mimeType = /** * Generate a small image straight away without generating a max preview first * Preview generated is 256x256 - * + * * @param ISimpleFile[] $previewFiles * * @throws NotFoundException @@ -247,7 +247,7 @@ private function getSmallImagePreview(ISimpleFolder $previewFolder, array $previ try { return $this->getCachedPreview($previewFiles, $width, $height, $crop, $mimeType, $prefix); - } catch (NotFoundException) { + } catch (NotFoundException $e) { return $this->generateProviderPreview($previewFolder, $file, $width, $height, $crop, false, $mimeType, $prefix); } }