summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-11-15 22:34:37 +0100
committerGitHub <noreply@github.com>2023-11-15 22:34:37 +0100
commitddf34961a055c54bffb7266a1c420c81fa8482d5 (patch)
tree787fb2bcc0d823ff06183422a51cdddf9dabae7d
parent97f925bb41a917bd04c5574e3d9664a2d61b24f5 (diff)
parent09b9f5bd00da861c63a10f9fd2f6e6ca26cc8659 (diff)
downloadnextcloud-server-ddf34961a055c54bffb7266a1c420c81fa8482d5.tar.gz
nextcloud-server-ddf34961a055c54bffb7266a1c420c81fa8482d5.zip
Merge pull request #41231 from nextcloud/backport/40819/stable27
[stable27] Catch Imaginary processing errors
-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 16b16470078..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 (\Exception $e) {
+ } catch (\Throwable $e) {
$this->logger->info('Imaginary preview generation failed: ' . $e->getMessage(), [
'exception' => $e,
]);