From e417e8bc12c88c85291052fbb48fa3d11d016511 Mon Sep 17 00:00:00 2001 From: faizanahmad055 Date: Wed, 30 Nov 2022 22:35:39 +0100 Subject: [PATCH] Add error log Signed-off-by: faizanahmad055 --- internal/pkg/controller/controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pkg/controller/controller.go b/internal/pkg/controller/controller.go index c71d75cd..4efab9f7 100644 --- a/internal/pkg/controller/controller.go +++ b/internal/pkg/controller/controller.go @@ -182,5 +182,6 @@ func (c *Controller) handleErr(err error, key interface{}) { c.queue.Forget(key) // Report to an external entity that, even after several retries, we could not successfully process this key runtime.HandleError(err) + logrus.Errorf("Dropping key out of the queue: %v", err) logrus.Debugf("Dropping the key %q out of the queue: %v", key, err) }