[SBI] Modified Exception handler on error (#2169)

This commit is contained in:
Sukchan Lee 2023-03-15 20:40:07 +09:00
parent 5f377d0126
commit 6b17bffdfd
646 changed files with 4920 additions and 735 deletions

View file

@ -122,7 +122,6 @@ OpenAPI_complex_query_t *OpenAPI_complex_query_parseFromJSON(cJSON *complex_quer
OpenAPI_cnf_unit_t *cnf_unitsItem = OpenAPI_cnf_unit_parseFromJSON(cnf_units_local);
if (!cnf_unitsItem) {
ogs_error("No cnf_unitsItem");
OpenAPI_list_free(cnf_unitsList);
goto end;
}
OpenAPI_list_add(cnf_unitsList, cnf_unitsItem);
@ -149,7 +148,6 @@ OpenAPI_complex_query_t *OpenAPI_complex_query_parseFromJSON(cJSON *complex_quer
OpenAPI_dnf_unit_t *dnf_unitsItem = OpenAPI_dnf_unit_parseFromJSON(dnf_units_local);
if (!dnf_unitsItem) {
ogs_error("No dnf_unitsItem");
OpenAPI_list_free(dnf_unitsList);
goto end;
}
OpenAPI_list_add(dnf_unitsList, dnf_unitsItem);