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
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-04-14 13:56:40 +0300
committerGitHub <noreply@github.com>2022-04-14 13:56:40 +0300
commit53f1f64d8e1d939e58560d37dae37ccfa86e26cd (patch)
treef2e58c6107378622b4173a4947b8afc084869647 /lib/private
parent74c3e6d8a44688407f2c0c3efe670bb869afa3d9 (diff)
parenteaff81c831ca82cca63712f180d68a33196c3319 (diff)
Merge pull request #31830 from nextcloud/backport/31380/stable22
[stable22] Ignore errors when searching for bundled preview
Diffstat (limited to 'lib/private')
-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 f026d3259f5..6b5a8aa2d12 100644
--- a/lib/private/Preview/Bundled.php
+++ b/lib/private/Preview/Bundled.php
@@ -46,7 +46,7 @@ abstract class Bundled extends ProviderV2 {
$image->fixOrientation();
return $image;
- } catch (\Exception $e) {
+ } catch (\Throwable $e) {
return null;
}
}