Merge pull request #40819 from nextcloud/imaginaryGuzzleErrors

Catch Imaginary processing errors
pull/40899/head
Git'Fellow 3 years ago committed by GitHub
commit b46879db4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/private/Preview/Imaginary.php

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

Loading…
Cancel
Save