diff options
author | Jerome Charaoui <jerome@riseup.net> | 2016-12-02 22:42:36 -0500 |
---|---|---|
committer | Jerome Charaoui <jerome@riseup.net> | 2016-12-02 22:42:36 -0500 |
commit | 36e6ef52a176ef654eade931a23f60fd91344f2f (patch) | |
tree | 05a859396e95e51287aa6180d3a21d81600c7014 /src/Wallabag/CoreBundle/Helper/ContentProxy.php | |
parent | 29dca43236001221be947179df0caa8aee966f6d (diff) | |
download | wallabag-36e6ef52a176ef654eade931a23f60fd91344f2f.tar.gz wallabag-36e6ef52a176ef654eade931a23f60fd91344f2f.tar.zst wallabag-36e6ef52a176ef654eade931a23f60fd91344f2f.zip |
Imported entries which fail to fetch get standard error body
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/ContentProxy.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/ContentProxy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index 77acbd6c..642ba6f9 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -63,7 +63,7 @@ class ContentProxy | |||
63 | 63 | ||
64 | $html = $content['html']; | 64 | $html = $content['html']; |
65 | if (false === $html) { | 65 | if (false === $html) { |
66 | $html = '<p>Unable to retrieve readable content.</p>'; | 66 | $html = $this->fetchingErrorMessage; |
67 | 67 | ||
68 | if (isset($content['open_graph']['og_description'])) { | 68 | if (isset($content['open_graph']['og_description'])) { |
69 | $html .= '<p><i>But we found a short description: </i></p>'; | 69 | $html .= '<p><i>But we found a short description: </i></p>'; |