Skip to content

Commit

Permalink
fixup! test(a3p-integration): Try to get more insight into the failin…
Browse files Browse the repository at this point in the history
…g test
  • Loading branch information
gibson042 committed Nov 5, 2024
1 parent e961e12 commit b4ec68c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions golang/cosmos/x/swingset/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@ func (keeper msgServer) WalletSpendAction(goCtx context.Context, msg *types.MsgW
return nil, err
}

if xxx_gibson {
defer func() {
if x := recover(); x != nil {
stdlog.Println("xxx gibson WalletSpendAction caught panic", msg.Owner, x)
panic(x)
}
stdlog.Println("xxx gibson WalletSpendAction done", msg.Owner)
}()
}
action := walletSpendAction{
Owner: msg.Owner.String(),
SpendAction: msg.SpendAction,
Expand Down

0 comments on commit b4ec68c

Please sign in to comment.