From ae6c1c01155dd2eb934826a90f812ef9af95089d Mon Sep 17 00:00:00 2001 From: Khash Sajadi Date: Sun, 19 Jan 2025 04:19:37 -0800 Subject: [PATCH] Update server.go Typo in the docs --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 0cc4f38..eb5f8d5 100644 --- a/server.go +++ b/server.go @@ -177,7 +177,7 @@ type Config struct { // we can also handle panic error like: // func reportError(ctx context, task *asynq.Task, err error) { - // if asynq.IsPanic(err) { + // if asynq.IsPanicError(err) { // errorReportingService.Notify(err) // } // })