[SBI] Modified Exception handler on error (#2169)

This commit is contained in:
Sukchan Lee 2023-03-15 20:40:07 +09:00
parent 5f377d0126
commit 6b17bffdfd
646 changed files with 4920 additions and 735 deletions

View file

@ -164,6 +164,10 @@ OpenAPI_ue_differentiation_info_t *OpenAPI_ue_differentiation_info_parseFromJSON
scheduled_com_time = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "scheduledComTime");
if (scheduled_com_time) {
scheduled_com_time_local_nonprim = OpenAPI_scheduled_communication_time_parseFromJSON(scheduled_com_time);
if (!scheduled_com_time_local_nonprim) {
ogs_error("OpenAPI_scheduled_communication_time_parseFromJSON failed [scheduled_com_time]");
goto end;
}
}
stationary_ind = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "stationaryInd");
@ -187,6 +191,10 @@ OpenAPI_ue_differentiation_info_t *OpenAPI_ue_differentiation_info_parseFromJSON
battery_ind = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "batteryInd");
if (battery_ind) {
battery_ind_local_nonprim = OpenAPI_battery_indication_parseFromJSON(battery_ind);
if (!battery_ind_local_nonprim) {
ogs_error("OpenAPI_battery_indication_parseFromJSON failed [battery_ind]");
goto end;
}
}
validity_time = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "validityTime");