]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/importtwitteratom.php
geometa.js doesn't exist anymore
[quix0rs-gnu-social.git] / scripts / importtwitteratom.php
index a29526f27e1726f57f3679dcdab034fbf4350614..1a08dd7488d867d284b7cf5ee0096254340d2550 100755 (executable)
@@ -108,7 +108,7 @@ function getTweetHtml($url)
     try {
         $client = new HTTPClient();
         $response = $client->get($url);
-    } catch (HTTP_Request2_Exception $e) {
+    } catch (Exception $e) {
         print "ERROR: HTTP response " . $e->getMessage() . "\n";
         return false;
     }