-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GearmanJob throwing exception #3
Comments
I'm getting this same error as well. |
So on the lines 43, 47, and 51. If you add a backslash in front of Exception that will fix the error. Like so:
|
Thanks. |
I am still getting an error, something about no delay is supported [2014-04-24 00:46:54] production.ERROR: exception 'Exception' with message 'No delay is suported' in /Applications/XAMPP/xamppfiles/htdocs/examprep/vendor/pafelin/gearman/src/Pafelin/Gearman/Jobs/GearmanJob.php:47 |
All of your jobs should not use the delay. I will now fix the problem with the namespaces |
ok the exceptions now use the default Exception class. @anjorinjnr you probably try to add a task with a delay. Probably you use:
This is supported in beanstalkd but in gearman we cannot use it. |
I get this error every time I try to add a job to the the Gearman queue
production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'Whoops\Example\Exception' not found' in /Applications/XAMPP/xamppfiles/htdocs/examprep/vendor/pafelin/gearman/src/Pafelin/Gearman/Jobs/GearmanJob.php:47
The text was updated successfully, but these errors were encountered: