From 6e00d528c2aff1ff563f89085e66b96b44dc256b Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Thu, 28 Dec 2017 15:50:37 -0700 Subject: [PATCH] Do print controller name when logging error --- controller/generic_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/generic_controller.go b/controller/generic_controller.go index bafffb8b..434ab136 100644 --- a/controller/generic_controller.go +++ b/controller/generic_controller.go @@ -167,7 +167,7 @@ func (g *genericController) processNextWorkItem() bool { return true } - utilruntime.HandleError(fmt.Errorf("%v failed with : %v", key, err)) + utilruntime.HandleError(fmt.Errorf("%v %v failed with : %v", g.name, key, err)) g.queue.AddRateLimited(key) return true