Skip to content

Commit

Permalink
Fix naked error
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Apr 27, 2021
1 parent f6b7e61 commit 854f88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/wasm/keeper/msg_dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (d MessageDispatcher) DispatchSubmessages(ctx sdk.Context, contractAddr sdk
rData, err := d.keeper.reply(ctx, contractAddr, reply)
switch {
case err != nil:
return nil, err
return nil, sdkerrors.Wrap(err, "reply")
case rData.Data != nil:
rsp = rData.Data
}
Expand Down

0 comments on commit 854f88c

Please # to comment.