jobs v0.2.0 Release Notes

Release Date: 2015-04-15 // almost 5 years ago
  • 🚀 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.