client/v3: improve error messages to include endpoint information
Open
type/feature
- Dominant language
- Go
- Stars
- 52.3k
- Forks
- 10.5k
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 44
Description
### What would you like to be added?
Two error paths in `client/v3/client.go` return bare errors without endpoint context (explicit TODO left by maintainers):
- line ~498: dial failure
- line ~519: token retrieval failure
Also `ErrMutuallyExclusiveCfg` missing `etcdclient:` prefix unlike all other client errors.
I will submit a PR
### Why is this needed?
Dial failures give no indication which endpoints were tried.
Contributor guide
Assessment
This issue has not been assessed yet.