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.