fix: small tweaks (#4057)

This commit is contained in:
Dag 2024-04-04 19:12:04 +02:00 committed by GitHub
parent 3cba984d22
commit 001dd47439
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 44 deletions

View file

@ -34,6 +34,7 @@ abstract class FeedExpander extends BridgeAbstract
try {
$this->feed = $feedParser->parseFeed($xmlString);
} catch (\Exception $e) {
// FeedMergeBridge relies on this string
throw new \Exception(sprintf('Failed to parse xml from %s: %s', $url, create_sane_exception_message($e)));
}