src/Tweeper.php: check http response code and return error for error codes
authorAntonio Ospite <ao2@ao2.it>
Thu, 24 Dec 2020 09:10:55 +0000 (10:10 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 24 Dec 2020 09:10:55 +0000 (10:10 +0100)
Check http response code from curl and return error for codes greater
than 400.

In particular this covers the case of non-existing accounts on social
media sites as the failure will propagate to the main function which
will exit with a non-zero code.


No differences found