mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +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
|
|
@ -120,7 +120,6 @@ OpenAPI_lcs_client_external_t *OpenAPI_lcs_client_external_parseFromJSON(cJSON *
|
|||
OpenAPI_geographic_area_t *allowed_geographic_areaItem = OpenAPI_geographic_area_parseFromJSON(allowed_geographic_area_local);
|
||||
if (!allowed_geographic_areaItem) {
|
||||
ogs_error("No allowed_geographic_areaItem");
|
||||
OpenAPI_list_free(allowed_geographic_areaList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem);
|
||||
|
|
@ -139,6 +138,10 @@ OpenAPI_lcs_client_external_t *OpenAPI_lcs_client_external_parseFromJSON(cJSON *
|
|||
valid_time_period = cJSON_GetObjectItemCaseSensitive(lcs_client_externalJSON, "validTimePeriod");
|
||||
if (valid_time_period) {
|
||||
valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period);
|
||||
if (!valid_time_period_local_nonprim) {
|
||||
ogs_error("OpenAPI_valid_time_period_parseFromJSON failed [valid_time_period]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
lcs_client_external_local_var = OpenAPI_lcs_client_external_create (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue