mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-09 10:06:33 +02:00
bridges: remove redundant "or returnServerError" after getContents/getSimpleHTMLDom/getSimpleHTMLDomCached (#2398)
When fetching website contents, exceptions already raise on fetching error
This commit is contained in:
@@ -553,8 +553,7 @@ class TrelloBridge extends BridgeAbstract {
|
||||
$data = json_decode(getContents('https://trello.com/1/'
|
||||
. $path
|
||||
. '?'
|
||||
. http_build_query($params)))
|
||||
or returnServerError('Failed to query trello API');
|
||||
. http_build_query($params)));
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user