Skip to content

Commit

Permalink
Avoid unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-momin committed Feb 24, 2025
1 parent 86833e0 commit 8a2b579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/solana/txm/txm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ func (txm *Txm) fetchTransactionLogs(ctx context.Context, sig solana.Signature)
txm.lggr.Debugw("failed to fetch transaction for its logs", "sig", sig)
return
}
if tx.Meta != nil {
if tx.Meta != nil && len(tx.Meta.LogMessages) > 0{
txm.lggr.Debugw("failed transaction logs", "logs", tx.Meta.LogMessages)
}
}
Expand Down

0 comments on commit 8a2b579

Please sign in to comment.