Skip to content

Commit

Permalink
Merge pull request quarkusio#32888 from mkouba/quartz-not-started-err…
Browse files Browse the repository at this point in the history
…-msg

Quartz - update the error message when scheduler was not started
  • Loading branch information
mkouba authored Apr 25, 2023
2 parents aee982d + 8eaf427 commit 4fb86db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public org.quartz.Trigger apply(TriggerKey triggerKey) {
org.quartz.Scheduler produceQuartzScheduler() {
if (scheduler == null) {
throw new IllegalStateException(
"Quartz scheduler is either explicitly disabled through quarkus.scheduler.enabled=false or no @Scheduled methods were found. If you only need to schedule a job programmatically you can force the start of the scheduler by setting 'quarkus.quartz.start-mode=forced'.");
"Quartz scheduler is either explicitly disabled through quarkus.scheduler.enabled=false or no @Scheduled methods were found. If you only need to schedule a job programmatically you can force the start of the scheduler by setting 'quarkus.scheduler.start-mode=forced'.");
}
return scheduler;
}
Expand Down

0 comments on commit 4fb86db

Please sign in to comment.