mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-18 11:21:00 +01:00
use catchall exception handler for readability
This commit is contained in:
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…
x
Reference in New Issue
Block a user