mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 23:57:29 +02:00
fix: improve FeedExpander (#3103)
* fix: improve FeedExpander Include the first libxml error in exception. Give better error message if trying to parse the empty string. Log all libxml errors if debug mode is enabled. * error handling and logging tweak
This commit is contained in:
@@ -364,7 +364,7 @@ function getSimpleHTMLDOMCached(
|
||||
$defaultBRText = DEFAULT_BR_TEXT,
|
||||
$defaultSpanText = DEFAULT_SPAN_TEXT
|
||||
) {
|
||||
Debug::log('Caching url ' . $url . ', duration ' . $duration);
|
||||
Logger::debug(sprintf('Caching url %s, duration %d', $url, $duration));
|
||||
|
||||
// Initialize cache
|
||||
$cacheFactory = new CacheFactory();
|
||||
|
Reference in New Issue
Block a user