ericklein / air_quality

displays and logs local indoor and outdoor weather and air quality information
MIT License
0 stars 0 forks source link

aq_network.httpGETRequest() error handling insufficient #57

Closed ericklein closed 1 year ago

ericklein commented 2 years ago

Most http.get error codes will not return a payload, but aq_network.httpGETRequest() pretends to send something back. aq_network.httpGETRequest() was based on some anemic sample code without error handling, which we need to review or add.

ericklein commented 2 years ago

Lowering priority as I've almost never seem GET requests fail in our scenario (targeting one web server)

ericklein commented 1 year ago

Closing this as the function will return the raw HTTP GET error via debugMessage.