[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

@ -168,11 +168,19 @@ OpenAPI_rat_freq_information_t *OpenAPI_rat_freq_information_parseFromJSON(cJSON
svc_exp_threshold = cJSON_GetObjectItemCaseSensitive(rat_freq_informationJSON, "svcExpThreshold");
if (svc_exp_threshold) {
svc_exp_threshold_local_nonprim = OpenAPI_threshold_level_parseFromJSON(svc_exp_threshold);
if (!svc_exp_threshold_local_nonprim) {
ogs_error("OpenAPI_threshold_level_parseFromJSON failed [svc_exp_threshold]");
goto end;
}
}
matching_dir = cJSON_GetObjectItemCaseSensitive(rat_freq_informationJSON, "matchingDir");
if (matching_dir) {
matching_dir_local_nonprim = OpenAPI_matching_direction_parseFromJSON(matching_dir);
if (!matching_dir_local_nonprim) {
ogs_error("OpenAPI_matching_direction_parseFromJSON failed [matching_dir]");
goto end;
}
}
rat_freq_information_local_var = OpenAPI_rat_freq_information_create (