cockroachdb / cockroachdb/errors
Require a context in assertion errors
Aperta
- Lingua principale
- Go
- Stelle
- 2.5k
- Fork
- 74
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.