Skip to content

Commit 73c5eac

Browse files
committed
Move log entry below action, and be specific about task + conversationID
1 parent 27457f5 commit 73c5eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/EhrResendController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ public ResponseEntity<String> scheduleEhrExtractResend(@PathVariable String conv
6868
return new ResponseEntity<>(errorBody, HttpStatus.CONFLICT);
6969
}
7070

71-
LOGGER.info("Creating tasks to start the EHR Extract process resend");
7271
var updatedEhrExtractStatus = prepareEhrExtractStatusForNewResend(ehrExtractStatus);
7372
ehrExtractStatusRepository.save(updatedEhrExtractStatus);
7473
createGetGpcStructuredTask(updatedEhrExtractStatus);
74+
LOGGER.info("Scheduled GetGpcStructuredTask for resend of ConversationId: {}", conversationId);
7575

7676
return new ResponseEntity<>(HttpStatus.ACCEPTED);
7777
}

0 commit comments

Comments
 (0)