Merge pull request #25013 from nextcloud/backport/25011/stable20
[stable20] Catch throwable instead of exception
This commit is contained in:
commit
b2cfd43b8f
|
@ -301,7 +301,7 @@ class Storage implements IStorage {
|
|||
$fallback = false;
|
||||
try {
|
||||
$clearData = $this->crypto->decrypt($data);
|
||||
} catch (\Exception $e) {
|
||||
} catch (\Throwable $e) {
|
||||
$fallback = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue