Merge pull request #25011 from nextcloud/fix/23197/catch_throwable
Catch throwable instead of exception
This commit is contained in:
commit
82947263b9
|
@ -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