A free, self-hostable news aggregator…
Favicon: avoid echo exception (#5867)
Alexandre Alapetite8631d6f80d07
diff --git a/lib/favicons.php b/lib/favicons.phpindex a74f3331f..b161215b2 100644--- a/lib/favicons.php+++ b/lib/favicons.php@@ -19,7 +19,7 @@ function isImgMime(string $content): bool {$isImage = strpos($content, 'image') !== false;finfo_close($fInfo);} catch (Exception $e) {- echo 'Caught exception: ', $e->getMessage(), "\n";+ syslog(LOG_WARNING, 'FreshRSS favicon error: ' . $e->getMessage());}return $isImage;}