Skip to content

Commit

Permalink
change log warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
TomE168 committed Dec 28, 2023
1 parent e925b42 commit 2196635
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private void assignShifts(double timeStep) {
// Remove elapsed shifts
unscheduledShifts.removeIf(shift -> {
if (shift.getStartTime() + drtShiftParams.maxUnscheduledShiftDelay < timeStep ) {
logger.warn("Shift with ID " + shift.getId() + " is being removed as start time is longer in the past than defined by maxShiftStartDelay.");
logger.warn("Shift with ID " + shift.getId() + " could not be assigned and is being removed as start time is longer in the past than defined by maxUnscheduledShiftDelay.");
return true;
}
return false;
Expand Down

0 comments on commit 2196635

Please sign in to comment.