Skip to content

Commit

Permalink
Move log entry below action, and be specific about task + conversationID
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianclay committed Nov 26, 2024
1 parent 27457f5 commit 73c5eac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ public ResponseEntity<String> scheduleEhrExtractResend(@PathVariable String conv
return new ResponseEntity<>(errorBody, HttpStatus.CONFLICT);
}

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

return new ResponseEntity<>(HttpStatus.ACCEPTED);
}
Expand Down

0 comments on commit 73c5eac

Please sign in to comment.