You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into something similar on my S3 feather tonight with OSError -2 pointing at response = requests.get(DATA_SOURCE).json() but more specifically line 509 in adafruit_requests.py (8.0.0-beta.0-67) for _get_socket. This happened as I lost power during hurricane ian.
No clue if this is helpful, first time i've seen an actual error instead of the hard fault handler crash so wanted to document it somewhere, this seems appropriate.
The behavior below is correct, but the Exception type / error message could be more helpful.
Example problem code and results
Expected result:
or at least some text describing what OSError of -2 means, but since DNS failure is a common error, it would be nicer to be able to do, say:
rather than special-casing the exception every time you do a DNS lookup:
Thank you for your consideration and all your hard work!
The text was updated successfully, but these errors were encountered: