Skip to content

Commit

Permalink
fix(mod-search): fix export of cql files
Browse files Browse the repository at this point in the history
- fix logic 3

Closes: MSEARCH-762
  • Loading branch information
viacheslavpoliakov committed Jun 6, 2024
1 parent 8f90fbd commit e30d386
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ public void streamResourceIdsForJob(ResourceIdsJobEntity job, String tenantId) {
job.setStatus(StreamJobStatus.COMPLETED);
log.info("[SLY] *** AFTER SAVE IDS:");
List<Map<String, Object>> ids = idsTemporaryRepository.getIds(tableName);
log.info("[SLY] Amount: {}, idsTemporaryRepository.getIds: {}]", ids == null ? "null" : ids.size(), ids);
int size = ids == null ? -1 : ids.size();
log.info("[SLY] Amount: {}, idsTemporaryRepository.getIds: {}]", size, ids);
} catch (Exception e) {
log.warn("Failed to process resource ids job with id = {}, msg: {}", job.getId(), e.getMessage());
idsTemporaryRepository.dropTableForIds(tableName);
Expand Down

0 comments on commit e30d386

Please sign in to comment.