Add context to "Watch failed"
#122207
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What would you like to be added?
Add some context to
retrywatcher.go
'sWatch failed
error.Why is this needed?
A number of systems (especially argocd) experience a log message of the form:
To Reproduce
Dunno
Expected behavior
Log messages should give enough context for someone reading them to understand what's going on, i.e. "I tried to do x and a watch failed".
victims
general search: https://github.com/search?q=%22Watch+failed%22+kubernetes+retrywatcher.go&type=issues
argoproj/argo-cd#14134 (comment)
okteto/okteto#3911 (comment)
aws/eks-anywhere#6535 (comment)
devopstales/devopstales.github.io#7 (comment)
#118731 (comment)
open-cluster-management-io/ocm#186 (comment)
filed as kubernetes/client-go#1321
The text was updated successfully, but these errors were encountered: