From b4ec68c5fea745e6f509c88b75f3c468bb4a3391 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Sun, 3 Nov 2024 17:59:52 -0500 Subject: [PATCH] fixup! test(a3p-integration): Try to get more insight into the failing test --- golang/cosmos/x/swingset/keeper/msg_server.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/golang/cosmos/x/swingset/keeper/msg_server.go b/golang/cosmos/x/swingset/keeper/msg_server.go index 2c0bd6d2fdc5..ae0390e573f2 100644 --- a/golang/cosmos/x/swingset/keeper/msg_server.go +++ b/golang/cosmos/x/swingset/keeper/msg_server.go @@ -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,