]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/lib/feeddiscovery.php
Debugging log fix.
[quix0rs-gnu-social.git] / plugins / OStatus / lib / feeddiscovery.php
index 84933e196b45cce578bf800732b46d05da9d5807..02c3ce02122940ebe91a7e2847f287f4962438bf 100644 (file)
@@ -118,7 +118,7 @@ class FeedDiscovery
         try {
             $client = new HTTPClient();
             $response = $client->get($url);
-        } catch (HTTP_Request2_Exception $e) {
+        } catch (Exception $e) {
             common_log(LOG_ERR, __METHOD__ . " Failure for $url - " . $e->getMessage());
             throw new FeedSubBadURLException($e->getMessage());
         }