mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +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
|
|
@ -135,6 +135,10 @@ OpenAPI_ellipsoid_arc_t *OpenAPI_ellipsoid_arc_parseFromJSON(cJSON *ellipsoid_ar
|
|||
goto end;
|
||||
}
|
||||
shape_local_nonprim = OpenAPI_supported_gad_shapes_parseFromJSON(shape);
|
||||
if (!shape_local_nonprim) {
|
||||
ogs_error("OpenAPI_supported_gad_shapes_parseFromJSON failed [shape]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
point = cJSON_GetObjectItemCaseSensitive(ellipsoid_arcJSON, "point");
|
||||
if (!point) {
|
||||
|
|
@ -142,6 +146,10 @@ OpenAPI_ellipsoid_arc_t *OpenAPI_ellipsoid_arc_parseFromJSON(cJSON *ellipsoid_ar
|
|||
goto end;
|
||||
}
|
||||
point_local_nonprim = OpenAPI_geographical_coordinates_parseFromJSON(point);
|
||||
if (!point_local_nonprim) {
|
||||
ogs_error("OpenAPI_geographical_coordinates_parseFromJSON failed [point]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
inner_radius = cJSON_GetObjectItemCaseSensitive(ellipsoid_arcJSON, "innerRadius");
|
||||
if (!inner_radius) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue