openaq / openaq-fetch

A tool to collect data for OpenAQ platform.
MIT License
85 stars 39 forks source link

Refactor fetchData function to handle errors and log them #1104

Closed majesticio closed 7 months ago

majesticio commented 7 months ago

Added a try / catch block in the fetchData function to handle bad responses more gracefully