fix(errors): test failures (#10879)

* fix(errors): test failures

* fix test
This commit is contained in:
Aaron Craelius
2022-01-04 18:19:08 -05:00
committed by GitHub
parent bdee3337d3
commit 401cf2f394
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -48,9 +48,9 @@ func trimInternal(st errors.StackTrace) errors.StackTrace {
// manual error creation, or runtime for caught panics
for matchesFunc(st[0],
// where we create errors
"github.com/cosmos/cosmos-sdk/types/errors.Wrap",
"github.com/cosmos/cosmos-sdk/types/errors.Wrapf",
"github.com/cosmos/cosmos-sdk/types/errors.WithType",
"github.com/cosmos/cosmos-sdk/errors.Wrap",
"github.com/cosmos/cosmos-sdk/errors.Wrapf",
"github.com/cosmos/cosmos-sdk/errors.WithType",
// runtime are added on panics
"runtime.",
// _test is defined in coverage tests, causing failure