Skip to content

Require a context in assertion errors #18

Description

@knz

Suggested by @andreimatei in cockroachdb/cockroach#43032 (review):

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions