CodeReclaimers / btce-api

Python wrapper around the public and trading APIs of BTC-e.com
MIT License
191 stars 123 forks source link

Modified makeRequest to raise an httplib.HTTPException... #35

Closed codemonkey2841 closed 7 years ago

codemonkey2841 commented 10 years ago

... when the response code for the request comes back with anything but a 200 (HTTP OK). This allows a user to catch when the API returns an error (I most commonly saw 502 errors).

CodeReclaimers commented 7 years ago

Thanks for the patch, and sorry it took me so long to get around to it!