Merge pull request #41233 from nextcloud/stable26-catchImaginaryErrors

[stable26] Catch Imaginary processing errors
This commit is contained in:
Richard Steinmetz 2023-11-13 16:37:46 +01:00 committed by GitHub
commit 448fa0602b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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,
]);