aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-10-08 16:34:55 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-11-01 16:55:19 +0100
commit624986a6d5774148e63fdaca6926fff7a8d1b5d6 (patch)
treec19b4a33e270e39bb91fe8a1522bf4a8a7a9a035 /lib/private/Preview
parent489624bb3aee0b1b2a49032b8cfe0b802f7cd322 (diff)
downloadnextcloud-server-624986a6d5774148e63fdaca6926fff7a8d1b5d6.tar.gz
nextcloud-server-624986a6d5774148e63fdaca6926fff7a8d1b5d6.zip
Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib/private/Preview')
-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 830c88793be..48410c2979a 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 (\Exception $e) {
+ } catch (\GuzzleHttp\Exception\ClientException | \Exception $e) {
$this->logger->info('Imaginary preview generation failed: ' . $e->getMessage(), [
'exception' => $e,
]);