mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-20 07:40:19 +08:00
Update server.go
Typo in the docs
This commit is contained in:
parent
489e21920b
commit
ae6c1c0115
@ -177,7 +177,7 @@ type Config struct {
|
|||||||
|
|
||||||
// we can also handle panic error like:
|
// we can also handle panic error like:
|
||||||
// func reportError(ctx context, task *asynq.Task, err error) {
|
// func reportError(ctx context, task *asynq.Task, err error) {
|
||||||
// if asynq.IsPanic(err) {
|
// if asynq.IsPanicError(err) {
|
||||||
// errorReportingService.Notify(err)
|
// errorReportingService.Notify(err)
|
||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user