[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

@ -99,6 +99,10 @@ OpenAPI_retainability_threshold_t *OpenAPI_retainability_threshold_parseFromJSON
rel_time_unit = cJSON_GetObjectItemCaseSensitive(retainability_thresholdJSON, "relTimeUnit");
if (rel_time_unit) {
rel_time_unit_local_nonprim = OpenAPI_time_unit_parseFromJSON(rel_time_unit);
if (!rel_time_unit_local_nonprim) {
ogs_error("OpenAPI_time_unit_parseFromJSON failed [rel_time_unit]");
goto end;
}
}
rel_flow_ratio = cJSON_GetObjectItemCaseSensitive(retainability_thresholdJSON, "relFlowRatio");