Skip to content

Commit

Permalink
Change unable to handle events log to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrun5 committed Oct 16, 2023
1 parent 8ccaab8 commit 8910d2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chains/evm/listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ loop:
for _, handler := range l.eventHandlers {
err := handler.HandleEvents(startBlock, new(big.Int).Sub(endBlock, big.NewInt(1)))
if err != nil {
l.log.Error().Err(err).Msgf("Unable to handle events")
l.log.Warn().Err(err).Msgf("Unable to handle events")
continue loop
}
}
Expand Down
2 changes: 1 addition & 1 deletion chains/substrate/listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (l *SubstrateListener) ListenToEvents(ctx context.Context, startBlock *big.
for _, handler := range l.eventHandlers {
err := handler.HandleEvents(evts)
if err != nil {
l.log.Error().Err(err).Msg("Error handling substrate events")
l.log.Warn().Err(err).Msg("Error handling substrate events")
continue
}
}
Expand Down

0 comments on commit 8910d2e

Please sign in to comment.