diff --git a/lib/task/jobs/jobWorkerTask.class.php b/lib/task/jobs/jobWorkerTask.class.php index 1ee834f510..2b2d92d2ab 100644 --- a/lib/task/jobs/jobWorkerTask.class.php +++ b/lib/task/jobs/jobWorkerTask.class.php @@ -83,7 +83,7 @@ protected function execute($arguments = array(), $options = array()) $ability = trim($ability); if (!class_exists($ability)) { - throw new sfException("Ability not defined: $ability, please ensure the job is in the lib/task/job directory."); + throw new sfException("Ability not defined: $ability. Please ensure the job is in the lib/task/job directory or that the plugin is enabled."); } $this->logSection('gearman-worker', "New ability: $ability");