use catchall exception handler for readability

master
Andrew Dolgov 6 years ago
parent a2d1fa5b14
commit c925f4e3fd

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

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

Loading…
Cancel
Save