mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 23:29:56 +03:00
feat: improve exception message when xml parsing fails (#3009)
This commit is contained in:
parent
a2c7865226
commit
8ea9472300
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ abstract class FeedExpander extends BridgeAbstract
|
|||
$rssContent = simplexml_load_string(trim($content));
|
||||
|
||||
if ($rssContent === false) {
|
||||
throw new \Exception('Unable to parse string as xml');
|
||||
throw new \Exception(sprintf('Unable to parse xml from "%s"', $url));
|
||||
}
|
||||
|
||||
Debug::log('Detecting feed format/version');
|
||||
|
|
Loading…
Add table
Reference in a new issue