aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-10-27 07:54:39 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-11-01 16:55:19 +0100
commitd1169af129e0424704bca1113e323977c65f9d2d (patch)
treec8a7b91a12524d8c17c7885ff610b6e16f39656b
parent624986a6d5774148e63fdaca6926fff7a8d1b5d6 (diff)
downloadnextcloud-server-d1169af129e0424704bca1113e323977c65f9d2d.tar.gz
nextcloud-server-d1169af129e0424704bca1113e323977c65f9d2d.zip
Use \Throwable instead
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
-rw-r--r--lib/private/Preview/Imaginary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Imaginary.php b/lib/private/Preview/Imaginary.php
index 48410c2979a..ae2752dd91c 100644
--- a/lib/private/Preview/Imaginary.php
+++ b/lib/private/Preview/Imaginary.php
@@ -168,7 +168,7 @@ class Imaginary extends ProviderV2 {
'timeout' => 120,
'connect_timeout' => 3,
]);
- } catch (\GuzzleHttp\Exception\ClientException | \Exception $e) {
+ } catch (\Throwable $e) {
$this->logger->info('Imaginary preview generation failed: ' . $e->getMessage(), [
'exception' => $e,
]);