[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

@ -96,6 +96,10 @@ OpenAPI_network_perf_requirement_t *OpenAPI_network_perf_requirement_parseFromJS
goto end;
}
nw_perf_type_local_nonprim = OpenAPI_network_perf_type_parseFromJSON(nw_perf_type);
if (!nw_perf_type_local_nonprim) {
ogs_error("OpenAPI_network_perf_type_parseFromJSON failed [nw_perf_type]");
goto end;
}
relative_ratio = cJSON_GetObjectItemCaseSensitive(network_perf_requirementJSON, "relativeRatio");
if (relative_ratio) {