mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:05:55 +00:00
use catchall exception handler for readability
This commit is contained in:
@@ -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) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user