issues
search
FeXd
/
saskwildfire
A bot to propogate wildfire information in Saskatchewan. https://twitter.com/SaskWildfire
MIT License
1
stars
0
forks
source link
Add basic Error Handling for requests
#8
Closed
FeXd
closed
2 years ago
FeXd
commented
2 years ago
initially was going to catch only Timeout exceptions
but while testing, ran into other errors (including HTTPError)
all exceptions that Requests explicitly raises inherit from requests.exceptions.RequestException.
this will handle more use cases
TODO: alert someone (me?) of failures other than just logging to console
Closes #3
Closes #3