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

Control panel - More error handling #80

Open
PhillipsOwen opened this issue Jun 10, 2024 · 0 comments
Open

Control panel - More error handling #80

PhillipsOwen opened this issue Jun 10, 2024 · 0 comments
Assignees

Comments

@PhillipsOwen
Copy link
Collaborator

PhillipsOwen commented Jun 10, 2024

i am seeing this in control-panel.js, lines 107-111 (see below).

as this is an async event, this area may also need more error handling to insure that "data" exists before it is used.

also, the axios call should be using the /get_ui_data_secure endpoint.

if (isError) {
alert(error);
} else {}
// add data returned to default layers, if they are not already there.
parseAndAddLayers(data);

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

2 participants