Skip to content

Commit d5219ae

Browse files
committed
Fix thumbnail layout
1 parent 1cd391b commit d5219ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

block_rss_thumbnails.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,10 @@ public function get_feed($feedrecord, $maxentries, $showtitle) {
193193
}
194194

195195
if ($simplepiefeed->error()) {
196-
debugging($feedrecord->url . ' Failed with code: ' . $simplepiefeed->error());
196+
if (!defined('BEHAT_SITE_RUNNING')) {
197+
// No error while doing the behat tests.
198+
debugging($feedrecord->url . ' Failed with code: ' . $simplepiefeed->error());
199+
}
197200
return null;
198201
}
199202

0 commit comments

Comments
 (0)