cockroachdb / cockroachdb/errors

Require a context in assertion errors

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.