use catchall exception handler for readability
This commit is contained in:
parent
a2d1fa5b14
commit
c925f4e3fd
2 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ class Af_Readability extends Plugin {
|
|||
return $r->getContent();
|
||||
}
|
||||
|
||||
} catch (ParseException $e) {
|
||||
} catch (Exception $e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -547,7 +547,7 @@ class Af_RedditImgur extends Plugin {
|
|||
|
||||
$article["content"] = $r->getContent() . "<hr/>" . $article["content"];
|
||||
}
|
||||
} catch (ParseException $e) {
|
||||
} catch (Exception $e) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue