2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-09-20 11:05:58 +08:00

Add ErrorHandler type to changelog

This commit is contained in:
Ken Hibino 2020-02-29 21:34:12 -08:00
parent a4e4c0b1d5
commit 897ab4e28b
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added
- `ErrorHandler` type was added. Allow users to specify error handling function (e.g. Report error to error reporting service such as Honeybadger, Bugsnag, etc)
## [0.5.0] - 2020-02-23 ## [0.5.0] - 2020-02-23
### Changed ### Changed

View File

@ -197,7 +197,7 @@ func TestProcessorRetry(t *testing.T) {
} }
if n != tc.wantErrCount { if n != tc.wantErrCount {
t.Errorf("error handler was called %d, want %d", n, tc.wantErrCount) t.Errorf("error handler was called %d times, want %d", n, tc.wantErrCount)
} }
} }
} }