mreinstein / node-gearman

⚙ Gearman client and worker for node
75 stars 13 forks source link

sendWorkFail function is not working #7

Closed goelvivek closed 11 years ago

goelvivek commented 11 years ago

I am trying to use function sendWorkFail(job). But I am getting following error node_modules/gearman/gearman.js: throw new Error('parameter 1 must be a string');

derrickpelletier commented 11 years ago

Can you try worker.sendWorkFail(job.handle)

goelvivek commented 11 years ago

Thanks. Worked.