openaq / openaq-cli

OpenAQ command line interface
MIT License
3 stars 0 forks source link

panic: OpenAQ API error (status code 408): "" #31

Closed majesticio closed 1 year ago

majesticio commented 1 year ago

eg openaq measurements list 2178 is timing out.

russbiggs commented 1 year ago

not really a bug in the CLI. a bare openaq measurements list [locationsID] is asking for all measurements, across the history of the location, for all parameters, so the server times out. We would probably do something about the panic and provide a more helpful message, but that probably belongs in an issue of its own.