Skip to content

Commit

Permalink
Exception thrown when trying to run a unknown job from the command li…
Browse files Browse the repository at this point in the history
…ne runner.
  • Loading branch information
jorizci committed Mar 1, 2017
1 parent 954a340 commit 708dda4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ private void launchJob(JobParameters jobParameters) throws JobExecutionException
} catch (NoSuchJobException ex) {
logger.error("No job found in registry for job name: " + jobName);
}
} else {
logger.error("Job not found and no JobRegistry initializated.");
}

throw new UnknownJobException(jobName);
}

@Override
Expand Down

0 comments on commit 708dda4

Please sign in to comment.