aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Preview/Generator.php4
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);
}
}