Skip to content
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

work_exception #15

Open
borys opened this issue Jun 29, 2015 · 0 comments
Open

work_exception #15

borys opened this issue Jun 29, 2015 · 0 comments

Comments

@borys
Copy link

borys commented Jun 29, 2015

How I should handle WORK_EXCEPTION? Problem:

var job = gearman.submitJob("someworker", data);
job.on("error", function(error) {
// this doesn't work when WORK_EXCEPTION is returned by worker
// works well when worker return WORK_FAIL
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant