-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail Jobs that don't decode as expected
Originally, this decoding failure would enter the `Left` case and only log the error. The Job would hang, neither `ACK`ed nor `FAIL`ed until its reservation expired. Now, as long as it is valid JSON, we reach the `Right`-`Just` branch and attempt to decode it further there. This way, if it can't decode, that exception occurs in the right place to `FAIL` the job, as desired. Closes #88.
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters