use catchall exception handler for readability

This commit is contained in:
Andrew Dolgov 2018-07-31 18:31:01 +03:00
parent a2d1fa5b14
commit c925f4e3fd
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ class Af_Readability extends Plugin {
return $r->getContent();
}
} catch (ParseException $e) {
} catch (Exception $e) {
return false;
}

View File

@ -547,7 +547,7 @@ class Af_RedditImgur extends Plugin {
$article["content"] = $r->getContent() . "<hr/>" . $article["content"];
}
} catch (ParseException $e) {
} catch (Exception $e) {
//
}
}