X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fimporttwitteratom.php;h=1a08dd7488d867d284b7cf5ee0096254340d2550;hb=1e89369ef8e13dc7fae66e22a127cf22732c204e;hp=a29526f27e1726f57f3679dcdab034fbf4350614;hpb=1acc7d66c63e0b9f794791e3a2e2b0f60bc2ebb1;p=quix0rs-gnu-social.git diff --git a/scripts/importtwitteratom.php b/scripts/importtwitteratom.php old mode 100644 new mode 100755 index a29526f27e..1a08dd7488 --- a/scripts/importtwitteratom.php +++ b/scripts/importtwitteratom.php @@ -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; }