[Fix] Fixed error logger in StrolchJob.schedule()

This commit is contained in:
Robert von Burg 2020-05-02 22:43:31 +02:00
parent 6d4ae7ae33
commit 8f0d264d8b
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ public abstract class StrolchJob implements Runnable, Restrictable {
try {
executionTime = this.cronExpression.nextTimeAfter(this.lastExecution);
} catch (IllegalArgumentException e) {
logger.error("Can not schedule " + getName() + " after start date " + this.cronStartDate
logger.error("Can not schedule " + getName() + " after start date " + this.lastExecution
+ " as no next time exists for cron expression " + this.cron);
return this;
}