Require a context in assertion errors
knz opened this issue · comments
Raphael 'kena' Poss commented
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.