diff options
author | Glandos <bugs-github@antipoul.fr> | 2022-11-13 22:20:16 +0100 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2023-04-17 16:29:14 +0200 |
commit | e542e60dbcb688d28f1335d20709555c0528e8cd (patch) | |
tree | 388d1b74b73196ddb63fc1a8f147f10202275444 /lib/private/Preview/Generator.php | |
parent | 3440387f0f800cb4ee7380d59f65ccd64a265148 (diff) | |
download | nextcloud-server-e542e60dbcb688d28f1335d20709555c0528e8cd.tar.gz nextcloud-server-e542e60dbcb688d28f1335d20709555c0528e8cd.zip |
try to make linters happy
Signed-off-by: Glandos <bugs-github@antipoul.fr>
Diffstat (limited to 'lib/private/Preview/Generator.php')
-rw-r--r-- | lib/private/Preview/Generator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php index 10a02d15fa1..ed9474fafb2 100644 --- a/lib/private/Preview/Generator.php +++ b/lib/private/Preview/Generator.php @@ -236,7 +236,7 @@ class Generator { /** * 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 @@ class Generator { 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); } } |