Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'CDK-104-add-some-metrics-to-agg-layer' of github.com:0x…
Browse files Browse the repository at this point in the history
…Polygon/agglayer into CDK-104-add-some-metrics-to-agg-layer
  • Loading branch information
vcastellm committed Mar 1, 2024
2 parents 73b2b59 + 839c7f7 commit 3b1ad41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (i *InteropEndpoints) GetTxStatus(hash common.Hash) (result interface{}, er
defer cancel()

c, merr := i.meter.Int64Counter("get_tx_status")
if err != nil {
if merr != nil {
i.logger.Warnf("failed to create get_tx_status counter: %s", merr)
}
c.Add(ctx, 1)
Expand Down

0 comments on commit 3b1ad41

Please sign in to comment.