mirror of
https://github.com/rancher/norman.git
synced 2025-08-11 12:12:10 +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
|
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)
|
g.queue.AddRateLimited(key)
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user