Skip to content

Commit

Permalink
Add log (#1589)
Browse files Browse the repository at this point in the history
Co-authored-by: EllisD-B <ellis.domengerboyce@hmcts.net>
  • Loading branch information
ed14537 and EllisD-B authored Nov 26, 2024
1 parent 826b75d commit 9c4b042
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public class GAResponseDeadlineTaskHandler extends BaseExternalTaskHandler {
@Override
public ExternalTaskData handleTask(ExternalTask externalTask) {
List<CaseDetails> cases = getAwaitingResponseCasesThatArePastDueDate();
log.info("Job '{}' found {} case(s)", externalTask.getTopicName(), cases.size());
List<Long> ids = cases.stream().map(CaseDetails::getId).toList();
log.info("GAResponseDeadlineTaskHandler Job '{}' found {} case(s) with ids {}", externalTask.getTopicName(), cases.size(), ids);

cases.forEach(this::deleteDashboardNotifications);
cases.forEach(this::fireEventForStateChange);
Expand Down

0 comments on commit 9c4b042

Please sign in to comment.