vsecades / AbuseIpDb

AbuseIpDB - Wrapper around the AbuseIPDb service API
MIT License
15 stars 4 forks source link

Validate propagation of network errors #11

Closed Eorhim closed 4 years ago

Eorhim commented 4 years ago

This ensures, that the code raises a HTTPError in case something went wrong. Otherwise we would get a KeyError a line later, when we try to access the data from the response.