]> source.dussan.org Git - nextcloud-server.git/commit
Ignore errors when searching for bundled preview 31380/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 28 Feb 2022 14:40:33 +0000 (15:40 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 28 Feb 2022 14:43:07 +0000 (15:43 +0100)
commit13c11208d48dd6881f6afcab88d78bf6f4ba75da
tree4533a6b844d8086b18b82a4708ce9acc51c3672d
parentc203bc71ada7da3642c8465b3ffc2cd80eea6743
Ignore errors when searching for bundled preview

When an odt file is xml and not zip, it would throw a ValueError.
It will now just ignore this file and return null for the preview.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
lib/private/Preview/Bundled.php