cockroachdb / cockroachdb/errors
Require a context in assertion errors
Open
- Dominant language
- Go
- Stars
- 2.5k
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
Suggested by @andreimatei in https://github.com/cockroachdb/cockroach/pull/43032#pullrequestreview-334181315:
`AssertionFailedf` is usually called in functions with a `context.Context` available.
It would be beneficial to capture the context tags to provide more details during troubleshooting.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.