Skip to content

Commit

Permalink
Change exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
jraddaoui committed Dec 12, 2014
1 parent f20617e commit 4056131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/task/jobs/jobWorkerTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 4056131

Please sign in to comment.