Merge pull request #31380 from nextcloud/fix/opendocument-preview-avoid-errors

Ignore errors when searching for bundled preview
This commit is contained in:
Côme Chilliet 2022-03-01 14:10:47 +01:00 committed by GitHub
commit ce87b44224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ abstract class Bundled extends ProviderV2 {
$image->fixOrientation();
return $image;
} catch (\Exception $e) {
} catch (\Throwable $e) {
return null;
}
}