Skip to content

Commit

Permalink
add logger message
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 4, 2024
1 parent 8720682 commit f2fdd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/posthandler/gasrefund.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (erd *GasRefundDecorator) safeRefund(ctx sdk.Context, feePayer sdk.AccAddre
if r := recover(); r != nil {
switch r := r.(type) {
case storetypes.ErrorOutOfGas:
erd.logger.Error("failed to refund gas", "err", r)
erd.logger.Error("failed to refund gas", "err", r, "feePayer", feePayer, "refudnAmount", coinsRefund)
default:
panic(r)

Check warning on line 90 in app/posthandler/gasrefund.go

View check run for this annotation

Codecov / codecov/patch

app/posthandler/gasrefund.go#L86-L90

Added lines #L86 - L90 were not covered by tests
}
Expand Down

0 comments on commit f2fdd32

Please sign in to comment.