2
0
mirror of https://github.com/hibiken/asynq.git synced 2026-07-10 17:32:58 +08:00

docs: Update server.go (#1010)

Typo in the docs
This commit is contained in:
Khash Sajadi
2025-03-31 23:06:12 -07:00
committed by GitHub
parent ea0c6e93f0
commit c327bc40a2

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