diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-10-27 07:54:39 +0200 |
---|---|---|
committer | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-11-01 16:55:19 +0100 |
commit | d1169af129e0424704bca1113e323977c65f9d2d (patch) | |
tree | c8a7b91a12524d8c17c7885ff610b6e16f39656b | |
parent | 624986a6d5774148e63fdaca6926fff7a8d1b5d6 (diff) | |
download | nextcloud-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.php | 2 |
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, ]); |