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

Closed
PhillipsOwen opened this issue Jun 10, 2024 · 1 comment
Closed

Control panel - More error handling #80

PhillipsOwen opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

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);

@PhillipsOwen PhillipsOwen added the enhancement New feature or request label Jul 30, 2024
@PhillipsOwen
Copy link
Collaborator Author

this looks to have been corrected. closing.

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

No branches or pull requests

2 participants