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:
parent
d969152e69
commit
6e00d528c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user