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
|
|
@ -119,6 +119,10 @@ OpenAPI_point_altitude_uncertainty_all_of_t *OpenAPI_point_altitude_uncertainty_
|
|||
goto end;
|
||||
}
|
||||
point_local_nonprim = OpenAPI_geographical_coordinates_parseFromJSON(point);
|
||||
if (!point_local_nonprim) {
|
||||
ogs_error("OpenAPI_geographical_coordinates_parseFromJSON failed [point]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
altitude = cJSON_GetObjectItemCaseSensitive(point_altitude_uncertainty_all_ofJSON, "altitude");
|
||||
if (!altitude) {
|
||||
|
|
@ -136,6 +140,10 @@ OpenAPI_point_altitude_uncertainty_all_of_t *OpenAPI_point_altitude_uncertainty_
|
|||
goto end;
|
||||
}
|
||||
uncertainty_ellipse_local_nonprim = OpenAPI_uncertainty_ellipse_parseFromJSON(uncertainty_ellipse);
|
||||
if (!uncertainty_ellipse_local_nonprim) {
|
||||
ogs_error("OpenAPI_uncertainty_ellipse_parseFromJSON failed [uncertainty_ellipse]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
uncertainty_altitude = cJSON_GetObjectItemCaseSensitive(point_altitude_uncertainty_all_ofJSON, "uncertaintyAltitude");
|
||||
if (!uncertainty_altitude) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue