1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-10 18:51:02 +00:00

Imported entries which fail to fetch get standard error body

This commit is contained in:
Jerome Charaoui 2016-12-02 22:42:36 -05:00
parent 29dca43236
commit 36e6ef52a1
5 changed files with 5 additions and 3 deletions

View file

@ -63,7 +63,7 @@ class ContentProxy
$html = $content['html'];
if (false === $html) {
$html = '<p>Unable to retrieve readable content.</p>';
$html = $this->fetchingErrorMessage;
if (isset($content['open_graph']['og_description'])) {
$html .= '<p><i>But we found a short description: </i></p>';