2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-20 15:50:20 +08:00

Update server.go

Typo in the docs
This commit is contained in:
Khash Sajadi 2025-01-19 04:19:37 -08:00 committed by GitHub
parent 489e21920b
commit ae6c1c0115
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
// } // }
// }) // })