Skip to content

Commit

Permalink
Use %v
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Nov 30, 2020
1 parent 255a0d3 commit 1daf62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (app *BaseApp) Query(req abci.RequestQuery) (res abci.ResponseQuery) {
// ref: https://github.com/cosmos/cosmos-sdk/pull/8039
defer func() {
if r := recover(); r != nil {
res = sdkerrors.QueryResult(sdkerrors.Wrapf(sdkerrors.ErrPanic, "%s", r))
res = sdkerrors.QueryResult(sdkerrors.Wrapf(sdkerrors.ErrPanic, "%v", r))
}
}()

Expand Down

0 comments on commit 1daf62f

Please sign in to comment.