Skip to content

Commit

Permalink
Adds log when failing to GetTransactionStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzaldysanchez committed Nov 11, 2024
1 parent e791f21 commit 4907cbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/capabilities/targets/write_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ func (cap *WriteTarget) Execute(ctx context.Context, rawRequest capabilities.Cap
case <-tick.C:
txStatus, err := cap.cw.GetTransactionStatus(ctx, txID.String())
if err != nil {

cap.lggr.Errorw("Failed to get transaction status", "request", request, "transaction", txID, "err", err)
continue
}
switch txStatus {
case commontypes.Finalized:
Expand Down

0 comments on commit 4907cbc

Please sign in to comment.