[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

@ -84,6 +84,10 @@ OpenAPI_time_period_t *OpenAPI_time_period_parseFromJSON(cJSON *time_periodJSON)
goto end;
}
period_local_nonprim = OpenAPI_periodicity_parseFromJSON(period);
if (!period_local_nonprim) {
ogs_error("OpenAPI_periodicity_parseFromJSON failed [period]");
goto end;
}
max_num_period = cJSON_GetObjectItemCaseSensitive(time_periodJSON, "maxNumPeriod");
if (max_num_period) {