Skip to content

Commit

Permalink
Merge pull request #269 from ethereum-optimism/harry/log_relayer_fail…
Browse files Browse the repository at this point in the history
…ures

fix: log relayer failures as errors
  • Loading branch information
tremarkley authored Nov 14, 2024
2 parents 8b73f1f + 2475154 commit d44032f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interop/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ func (r *L2ToL2MessageRelayer) Start(indexer *L2ToL2MessageIndexer, clients map[
close(sentMessageCh)
return nil
case sentMessage := <-sentMessageCh:
if err := r.relayMessageWithRetry(l2tol2CDM, transactor, sentMessage, 5); err != nil {
r.logger.Debug("failed to relay message after retries", "err", err)
if err := r.relayMessageWithRetry(l2tol2CDM, transactor, sentMessage, 1); err != nil {
r.logger.Error("failed to relay message after retries", "err", err)
return err
}
}
Expand Down

0 comments on commit d44032f

Please sign in to comment.