Skip to content

Commit 0228081

Browse files
authored
fix(relayer): use correct metrics counter for ChainDataSynced indexing errors (#21068)
1 parent 940a85a commit 0228081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/relayer/indexer/indexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ func (i *Indexer) indexChainDataSyncedEvents(ctx context.Context,
684684
group.Go(func() error {
685685
err := i.handleChainDataSyncedEvent(ctx, event, true)
686686
if err != nil {
687-
relayer.MessageStatusChangedEventsIndexingErrors.Inc()
687+
relayer.ChainDataSyncedEventsIndexingErrors.Inc()
688688

689689
// log error but always return nil to keep other goroutines active
690690
slog.Error("error handling chainDataSynced", "err", err.Error())

0 commit comments

Comments
 (0)