mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-17 05:54:18 +02:00
exception: Remove HttpException class
This class served no particular purpose (other than adding a layer on top of Exception).
This commit is contained in:
@@ -94,7 +94,7 @@ class FilterBridge extends FeedExpander {
|
||||
}
|
||||
try{
|
||||
$this->collectExpandableDatas($this->getURI());
|
||||
} catch (HttpException $e) {
|
||||
} catch (Exception $e) {
|
||||
$this->collectExpandableDatas($this->getURI());
|
||||
}
|
||||
}
|
||||
|
@@ -93,7 +93,7 @@ class WordPressBridge extends FeedExpander {
|
||||
}
|
||||
try{
|
||||
$this->collectExpandableDatas($this->getURI() . '/feed/atom/');
|
||||
} catch (HttpException $e) {
|
||||
} catch (Exception $e) {
|
||||
$this->collectExpandableDatas($this->getURI() . '/?feed=atom');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user