summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-10-27 07:54:39 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-11-01 17:03:24 +0000
commit09b9f5bd00da861c63a10f9fd2f6e6ca26cc8659 (patch)
treee2ccaeb2af1b7341d2f4779a7295617c271af3ed
parent5a94ced5f763be99212a984640f607f9a51336b5 (diff)
downloadnextcloud-server-09b9f5bd00da861c63a10f9fd2f6e6ca26cc8659.tar.gz
nextcloud-server-09b9f5bd00da861c63a10f9fd2f6e6ca26cc8659.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 7abc12e9dfd..ba5bd25a018 100644
--- a/lib/private/Preview/Imaginary.php
+++ b/lib/private/Preview/Imaginary.php
@@ -149,7 +149,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,
]);