try to make linters happy

Signed-off-by: Glandos <bugs-github@antipoul.fr>
This commit is contained in:
Glandos 2022-11-13 22:20:16 +01:00 committed by Simon L
parent 3440387f0f
commit e542e60dbc

View file

@ -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);
}
}