Skip to content

Improve Elasticsearch error handling for 404 and empty responses

14de7e2
Select commit
Loading
Failed to load commit list.
Open

Improve Elasticsearch error handling for 404 and empty responses #192

Improve Elasticsearch error handling for 404 and empty responses
14de7e2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Dec 5, 2025 in 36s

Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 541 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOee-&open=AZrsYrlmhc2agEIOOee-&pullRequest=192

Check warning on line 597 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOefD&open=AZrsYrlmhc2agEIOOefD&pullRequest=192

Check warning on line 590 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOefC&open=AZrsYrlmhc2agEIOOefC&pullRequest=192

Check warning on line 609 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOefE&open=AZrsYrlmhc2agEIOOefE&pullRequest=192

Check warning on line 548 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOee_&open=AZrsYrlmhc2agEIOOee_&pullRequest=192

Check warning on line 610 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant Exception class; it derives from another which is already caught.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOefF&open=AZrsYrlmhc2agEIOOefF&pullRequest=192

Check warning on line 560 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this generic exception class with a more specific one.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOefA&open=AZrsYrlmhc2agEIOOefA&pullRequest=192

Check warning on line 561 in api/utils/hysds_util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant Exception class; it derives from another which is already caught.

See more on https://sonarcloud.io/project/issues?id=MAAP-Project_maap-api-nasa&issues=AZrsYrlmhc2agEIOOefB&open=AZrsYrlmhc2agEIOOefB&pullRequest=192