diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-10-27 07:54:39 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-11-01 17:03:24 +0000 |
commit | 09b9f5bd00da861c63a10f9fd2f6e6ca26cc8659 (patch) | |
tree | e2ccaeb2af1b7341d2f4779a7295617c271af3ed | |
parent | 5a94ced5f763be99212a984640f607f9a51336b5 (diff) | |
download | nextcloud-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.php | 2 |
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, ]); |