[Fix] Fixed error logger in StrolchJob.schedule()
This commit is contained in:
parent
6d4ae7ae33
commit
8f0d264d8b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue