diff --git a/providers/http/nfqueue/nfqueue.go b/providers/http/nfqueue/nfqueue.go index 44ed91e5e92..fadabe25b75 100644 --- a/providers/http/nfqueue/nfqueue.go +++ b/providers/http/nfqueue/nfqueue.go @@ -177,8 +177,13 @@ func (w *HTTPProvider) serve(domain, token, keyAuth string) error { return 0 } + ignoreerr := func(err error) int { + log.Print(err) + return 0 + } + // Register your function to listen on nflqueue queue - err = nf.Register(w.context, handlepacket) + err = nf.RegisterWithErrorFunc(w.context, handlepacket, ignoreerr) if err != nil { fmt.Println(err) return nil