Skip to content

Commit

Permalink
Merge pull request #25011 from nextcloud/fix/23197/catch_throwable
Browse files Browse the repository at this point in the history
Catch throwable instead of exception
  • Loading branch information
rullzer authored Jan 7, 2021
2 parents 7001f03 + 317118e commit 8294726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Encryption/Keys/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private function getKey($path): array {
$fallback = false;
try {
$clearData = $this->crypto->decrypt($data);
} catch (\Exception $e) {
} catch (\Throwable $e) {
$fallback = true;
}

Expand Down

0 comments on commit 8294726

Please sign in to comment.