mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-11 19:30:21 +08:00
chore: fix godoc comment (#1009)
This commit is contained in:
parent
489e21920b
commit
ea0c6e93f0
@ -174,7 +174,7 @@ type Config struct {
|
||||
// })
|
||||
//
|
||||
// ErrorHandler: asynq.ErrorHandlerFunc(reportError)
|
||||
|
||||
//
|
||||
// we can also handle panic error like:
|
||||
// func reportError(ctx context, task *asynq.Task, err error) {
|
||||
// if asynq.IsPanic(err) {
|
||||
@ -183,7 +183,6 @@ type Config struct {
|
||||
// })
|
||||
//
|
||||
// ErrorHandler: asynq.ErrorHandlerFunc(reportError)
|
||||
|
||||
ErrorHandler ErrorHandler
|
||||
|
||||
// Logger specifies the logger used by the server instance.
|
||||
|
Loading…
x
Reference in New Issue
Block a user