Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Version 0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@albrow albrow released this 15 Apr 21:57
· 54 commits to master since this release

This release introduces a new mechanism for reporting job failure. Every HandlerFunc must now return an error (which may be nil). If the error is non-nil, it will be picked up by the worker in the same way that panics are. That is, the error will be logged in the database, and the job will either be retried or marked as permanently failed. The primary reason for this change is that returning errors is more idiomatic in go.

Full Changelog

  • Job HandlerFunc's must now return an error.