diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-01-07 15:22:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 15:22:36 +0100 |
commit | 82947263b90bb350501024da58809e7223fc4087 (patch) | |
tree | 44eda701f062ba4514a80979ae1f75ac709887c7 | |
parent | 7001f036453f5d79d3c44fdb82fdccf43c6e60db (diff) | |
parent | 317118ef79cb2d907acc93b30a294a467f60080e (diff) | |
download | nextcloud-server-82947263b90bb350501024da58809e7223fc4087.tar.gz nextcloud-server-82947263b90bb350501024da58809e7223fc4087.zip |
Merge pull request #25011 from nextcloud/fix/23197/catch_throwable
Catch throwable instead of exception
-rw-r--r-- | lib/private/Encryption/Keys/Storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Encryption/Keys/Storage.php b/lib/private/Encryption/Keys/Storage.php index a2b27de6b51..c70ebc15ec2 100644 --- a/lib/private/Encryption/Keys/Storage.php +++ b/lib/private/Encryption/Keys/Storage.php @@ -301,7 +301,7 @@ class Storage implements IStorage { $fallback = false; try { $clearData = $this->crypto->decrypt($data); - } catch (\Exception $e) { + } catch (\Throwable $e) { $fallback = true; } |