mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
try to make linters happy
Signed-off-by: Glandos <bugs-github@antipoul.fr>
This commit is contained in:
parent
3440387f0f
commit
e542e60dbc
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue