Skip to content

Commit 91b1570

Browse files
Small fix
1 parent 08d341c commit 91b1570

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/src/main/java/ca/bc/gov/educ/api/pen/replication/service/StudentCourseUpdateService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public void processEvent(final StudentCourseUpdate studentCourseUpdate, final Ev
4949
val existingTraxStudentRecord = this.traxStudentService.findTraxStudentByPen(StringUtils.rightPad(studentPEN, 10));
5050
if (existingTraxStudentRecord.isPresent()) {
5151
var existingCourses = this.traxStudentCourseService.findTraxStudentCoursesByPen(studentPEN);
52+
log.info("Found the following existing courses: {}", existingCourses);
5253
this.traxStudentCourseService.deletePriorAndSaveTraxStudentCourses(studentPEN, getStudentCourseEntityList(studentPEN, studentCourseUpdate.getStudentCourses(), existingCourses));
5354
log.info("Processing choreography update event with ID {} :: payload is: {}", event.getEventId(), studentCourseUpdate);
5455
}else{

0 commit comments

Comments
 (0)