diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index 9b4faa5376ed..14f2654c51a3 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -639,6 +639,7 @@ func (app *BaseApp) runTx(mode runTxMode, txBytes []byte) (gInfo sdk.GasInfo, re if r := recover(); r != nil { recoveryMW := newOutOfGasRecoveryMiddleware(gasWanted, ctx, app.runTxRecoveryMiddleware) err, result = processRecovery(r, recoveryMW), nil + ctx.Logger().Error("panic recovered in runTx", "err", err) } gInfo = sdk.GasInfo{GasWanted: gasWanted, GasUsed: ctx.GasMeter().GasConsumed()}