Skip to content
Snippets Groups Projects
Unverified Commit 317118ef authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Catch throwable instead of exception


The error that gets thrown can also be a type error etc. So we should
properly catch the Throwable.

Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent 7001f036
No related branches found
No related tags found
No related merge requests found
......@@ -301,7 +301,7 @@ class Storage implements IStorage {
$fallback = false;
try {
$clearData = $this->crypto->decrypt($data);
} catch (\Exception $e) {
} catch (\Throwable $e) {
$fallback = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment