Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vague error when no sensors found #87

Open
skalnik opened this issue Jan 12, 2024 · 0 comments
Open

Vague error when no sensors found #87

skalnik opened this issue Jan 12, 2024 · 0 comments

Comments

@skalnik
Copy link
Owner

skalnik commented Jan 12, 2024

Recently a coworker loaded up AQI.WTF and got an error! Turns out they're in the Caribbean and there's no sensors near them within the bounding box we've setup with #85.

We should handle this state a bit better by either:

  1. Expanding the bounding box
  2. Showing a nicer error state where we say something like Hey, there's no sensors within Nkm of you!

Right now it just errors on this line: https://github.com/skalnik/aqi-wtf/blob/main/app.js#L116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant