1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-01 23:41:24 +00:00

Do print controller name when logging error

This commit is contained in:
Craig Jellick 2017-12-28 15:50:37 -07:00 committed by Darren Shepherd
parent d969152e69
commit 6e00d528c2

View File

@ -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