Skip to content

Commit

Permalink
fix err string handling
Browse files Browse the repository at this point in the history
  • Loading branch information
augustbleeds authored and cfal committed Mar 21, 2024
1 parent 71f94cb commit af22545
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relayer/pkg/chainlink/txm/txm.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ func (txm *starktxm) broadcast(ctx context.Context, publicKey *felt.Felt, accoun
if errors.As(err, &dataErr) {
data = dataErr.ErrorData()
}

txm.lggr.Errorw("failed to estimate fee", "error", err, "data", data)
return txhash, fmt.Errorf("failed to estimate fee: %T %+w", err, err)
}
Expand Down

0 comments on commit af22545

Please sign in to comment.