mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30: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
|
|
@ -88,11 +88,19 @@ OpenAPI_ecs_addr_config_info_t *OpenAPI_ecs_addr_config_info_parseFromJSON(cJSON
|
|||
ecs_server_addr = cJSON_GetObjectItemCaseSensitive(ecs_addr_config_infoJSON, "ecsServerAddr");
|
||||
if (ecs_server_addr) {
|
||||
ecs_server_addr_local_nonprim = OpenAPI_ecs_server_addr_parseFromJSON(ecs_server_addr);
|
||||
if (!ecs_server_addr_local_nonprim) {
|
||||
ogs_error("OpenAPI_ecs_server_addr_parseFromJSON failed [ecs_server_addr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
spatial_validity_cond = cJSON_GetObjectItemCaseSensitive(ecs_addr_config_infoJSON, "spatialValidityCond");
|
||||
if (spatial_validity_cond) {
|
||||
spatial_validity_cond_local_nonprim = OpenAPI_spatial_validity_cond_parseFromJSON(spatial_validity_cond);
|
||||
if (!spatial_validity_cond_local_nonprim) {
|
||||
ogs_error("OpenAPI_spatial_validity_cond_parseFromJSON failed [spatial_validity_cond]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
ecs_addr_config_info_local_var = OpenAPI_ecs_addr_config_info_create (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue