Closed knz closed 4 years ago
pkg/errors has Cause unwrap everything. Our previous implementation was thus incorrect. This patch fixes it.
(Discovered while trying to upgrade crdb's client.Txn to use this package, see CI failures in https://github.com/cockroachdb/cockroach/pull/42854 )
client.Txn
This change is
thx
pkg/errors has Cause unwrap everything. Our previous implementation was thus incorrect. This patch fixes it.
(Discovered while trying to upgrade crdb's
client.Txn
to use this package, see CI failures in https://github.com/cockroachdb/cockroach/pull/42854 )This change is