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

Errors should be reported to the user instead of failing to load the page silently #8

Open
NullWanderer opened this issue Aug 29, 2024 · 0 comments

Comments

@NullWanderer
Copy link

What happens

If you happen to catch the mapserver at a bad time, you might face a 503 error. Instead of this being cleanly reported, the page just remains blank.

Expected behaviour

The page throws a visible error whenever the mapserver returns a non-ok status code

Reproduction steps

  1. Trigger a big render
  2. Try to load the viewer set up to reach a mapserver behind a reverse proxy
  3. Page doesn't load, network logs show a 503 error
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