albrow / jobs

A persistent and flexible background jobs library for go.
MIT License
499 stars 47 forks source link

Allow job handler functions to return an error #1

Closed albrow closed 9 years ago

albrow commented 9 years ago

Errors could then be picked up by the worker and logged, and if appropriate the job will be queued for retry. Currently the only way to get this behavior is to panic when there are errors, which seems unidiomatic.

albrow commented 9 years ago

Implemented in commit 9b7d1bd673254. This feature is now in version 0.2.0!