diff --git a/server.go b/server.go index 16a11df..cde6516 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) // } // })