Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-03-01 16:10:47 +0300
committerGitHub <noreply@github.com>2022-03-01 16:10:47 +0300
commitce87b4422422eebd72f3c0f309ae3f12eec5de1e (patch)
treee2efa42c26f0ee104a28bf11d3d1fbd81033a4f6 /lib
parent774fac10dce6afe36912abc190ffb42a95937f8c (diff)
parent13c11208d48dd6881f6afcab88d78bf6f4ba75da (diff)
Merge pull request #31380 from nextcloud/fix/opendocument-preview-avoid-errors
Ignore errors when searching for bundled preview
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Preview/Bundled.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Bundled.php b/lib/private/Preview/Bundled.php
index e0551bd392b..063c69ba5dd 100644
--- a/lib/private/Preview/Bundled.php
+++ b/lib/private/Preview/Bundled.php
@@ -48,7 +48,7 @@ abstract class Bundled extends ProviderV2 {
$image->fixOrientation();
return $image;
- } catch (\Exception $e) {
+ } catch (\Throwable $e) {
return null;
}
}