mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20:09 +00:00
[SBI] Modified Exception handler on error (#2169)
This commit is contained in:
parent
5f377d0126
commit
6b17bffdfd
646 changed files with 4920 additions and 735 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue