Why isn't there a result on failed jobs?
Asked by
Khai Do
Hello. I was wondering why I don't get a result when I set a GearmanJobResult to failed?
Here's my gearman worker function..
@Override
public GearmanJobResult executeFunction() {
..
boolean jobResult = false;
boolean jobResultMsg = "job failed!!"
return gjr;
}
When I run this job the jobResultMsg is an empty string. So on the client side I don't get a message telling me why the job failed. I do get a message when jobResult=true.
Is there any reason why no message is returned for failed jobs?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Khai Do
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Khai Do
To post a message you must log in.