diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-10-08 16:34:55 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-11-01 17:03:23 +0000 |
commit | 5a94ced5f763be99212a984640f607f9a51336b5 (patch) | |
tree | 026dd7c89abddaa423e02bc0624d128e88a1a96e | |
parent | 9c107da21e6e6221b33d80812739456892ef83a3 (diff) | |
download | nextcloud-server-5a94ced5f763be99212a984640f607f9a51336b5.tar.gz nextcloud-server-5a94ced5f763be99212a984640f607f9a51336b5.zip |
Catch Imaginary processing errors
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 16b16470078..7abc12e9dfd 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 (\Exception $e) { + } catch (\GuzzleHttp\Exception\ClientException | \Exception $e) { $this->logger->info('Imaginary preview generation failed: ' . $e->getMessage(), [ 'exception' => $e, ]); |