- try {
- $feeduri = $discover->discoverFromURL($this->url);
- if($feeduri) {
- $huburi = $discover->getHubLink();
- }
- } catch (FeedSubNoFeedException $e) {
- $this->clientError(_('No feed found'), 403, 'json');
- return;
- } catch (FeedSubBadResponseException $e) {
- $this->clientError(_('No hub found'), 403, 'json');
- return;
- }
+ try {
+ $feeduri = $discover->discoverFromURL($this->url);
+ if($feeduri) {
+ $huburi = $discover->getHubLink();
+ }
+ } catch (FeedSubNoFeedException $e) {
+ $this->clientError(_('No feed found'), 403, 'json');
+ return;
+ } catch (FeedSubBadResponseException $e) {
+ $this->clientError(_('No hub found'), 403, 'json');
+ return;
+ }