News for hackers. Stuff that matters.
Re:Postmodern Error Handling in Python 3.6 by vitorbaptistaa on Saturday February 25, 2017 @05:01AM (#13730894)
All of requests' exceptions inherit from requests.exceptions.RequestException [0], so you could catch it.

[0]: http://docs.python-requests.org/en/master/_modules/requests/...

There are no comments on this comment yet.