]> source.dussan.org Git - nextcloud-server.git/commitdiff
[stable26] Catch Imaginary processing errors 41233/head
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>
Thu, 2 Nov 2023 09:05:08 +0000 (10:05 +0100)
committerGitHub <noreply@github.com>
Thu, 2 Nov 2023 09:05:08 +0000 (10:05 +0100)
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
lib/private/Preview/Imaginary.php

index b26c2505a59ac7226881e35b947337380305154f..1375857c2102e91d3daa5508d2a10091afa301b8 100644 (file)
@@ -146,7 +146,7 @@ class Imaginary extends ProviderV2 {
                                        'timeout' => 120,
                                        'connect_timeout' => 3,
                                ]);
-               } catch (\Exception $e) {
+               } catch (\Throwable $e) {
                        $this->logger->error('Imaginary preview generation failed: ' . $e->getMessage(), [
                                'exception' => $e,
                        ]);