mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 23:59:27 -04:00
Merge pull request #52871 from AndyXheli/patch-2
fix(previews): lower log level when cached preview isn't found
This commit is contained in:
commit
47c0786a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ class Generator {
|
|||
$maxPreviewImage = $this->helper->getImage($maxPreview);
|
||||
}
|
||||
|
||||
$this->logger->warning('Cached preview not found for file {path}, generating a new preview.', ['path' => $file->getPath()]);
|
||||
$this->logger->debug('Cached preview not found for file {path}, generating a new preview.', ['path' => $file->getPath()]);
|
||||
$preview = $this->generatePreview($previewFolder, $maxPreviewImage, $width, $height, $crop, $maxWidth, $maxHeight, $previewVersion, $cacheResult);
|
||||
// New file, augment our array
|
||||
$previewFiles[] = $preview;
|
||||
|
|
|
|||
Loading…
Reference in a new issue