firstandthird / hapi-job-queue

Hapi and MongoDB powered job queue.
MIT License
3 stars 1 forks source link

jobError switch #15

Closed ecwillis closed 9 years ago

ecwillis commented 9 years ago

In this section here:

https://github.com/firstandthird/hapi-job-queue/blob/master/lib/index.js#L209

It appears that the callback should be err: jobError and not err: err which may be null.

Yes / no?

dawnerd commented 9 years ago

Oh good catch. We might want to have the job log that error itself since it's technically not an error caused by the job queue.