Skip to content

Commit 8d6f82a

Browse files
committed
DMP-5198 GenerateCaseDocumentForRetentionDateAutomatedTask - Rethrow Interrupted Exception
Added rethrowing of interrupted exception so the automated task can stop processing when the max lock time is acheieved
1 parent 081bc82 commit 8d6f82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/uk/gov/hmcts/darts/casedocument/service/impl/GenerateCaseDocumentSingleCaseProcessorImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private void updateCourtCaseRetention(Integer caseId) {
9090
courtCaseEntity.setRetentionUpdated(true);
9191
courtCaseEntity.setRetentionRetries(0);
9292
caseRepository.save(courtCaseEntity);
93-
log.debug("Updated retention for case id {} due to case document generation", caseId);
93+
log.info("Updated retention for case id {} due to case document generation", caseId);
9494
}
9595

9696
private CaseDocumentEntity createAndSaveCaseDocumentEntity(Integer caseId, String caseDocument, String externalLocation, UserAccountEntity user) {

0 commit comments

Comments
 (0)