From faa55980439a2bea86e615ac1682f19e836d4de0 Mon Sep 17 00:00:00 2001 From: Broderick Westrope Date: Sat, 18 Jan 2025 15:17:49 +1100 Subject: [PATCH] chore: fix godoc comment --- server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server.go b/server.go index 0cc4f38..16a11df 100644 --- a/server.go +++ b/server.go @@ -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.