Merge pull request #40819 from nextcloud/imaginaryGuzzleErrors

Catch Imaginary processing errors
This commit is contained in:
Git'Fellow 2023-11-01 17:55:04 +01:00 committed by GitHub
commit b46879db4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,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,
]);