]> 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
old mode 100644 (file)
new mode 100755 (executable)
index a29526f..1a08dd7
@@ -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;
     }