The error 'all job servers fail' is thrown before the job is returned making it impossible for a client app to catch it.
in the scenario where all servers are temporarily invalid, line
|
return job.emit('error', new Error('all job servers fail')); |
triggers before line
.
The error 'all job servers fail' is thrown before the job is returned making it impossible for a client app to catch it.
in the scenario where all servers are temporarily invalid, line
GearmaNode/lib/gearmanode/client.js
Line 165 in 8ad6e48
GearmaNode/lib/gearmanode/client.js
Line 172 in 8ad6e48