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

Capture 500 error from API on app load; fail gracefully #111

Open
brucecrevensten opened this issue Jan 8, 2025 · 0 comments
Open

Capture 500 error from API on app load; fail gracefully #111

brucecrevensten opened this issue Jan 8, 2025 · 0 comments

Comments

@brucecrevensten
Copy link
Member

Right now if the upstream API returns a 500 error when the app calls /enddate to establish temporal extent of the data, the app will be totally broken.

We can capture that error and switch the app into an "error mode" where the place selector / map are hidden, with an error message saying "sorry! unavailable -- email us plz." but the animations, text, info etc are still present.

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