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
|
|
@ -145,6 +145,10 @@ OpenAPI_sms_router_info_t *OpenAPI_sms_router_info_parseFromJSON(cJSON *sms_rout
|
|||
diameter_address = cJSON_GetObjectItemCaseSensitive(sms_router_infoJSON, "diameterAddress");
|
||||
if (diameter_address) {
|
||||
diameter_address_local_nonprim = OpenAPI_network_node_diameter_address_parseFromJSON(diameter_address);
|
||||
if (!diameter_address_local_nonprim) {
|
||||
ogs_error("OpenAPI_network_node_diameter_address_parseFromJSON failed [diameter_address]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
map_address = cJSON_GetObjectItemCaseSensitive(sms_router_infoJSON, "mapAddress");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue