Skip to content

Commit

Permalink
fix: initial amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Apr 22, 2024
1 parent a1be18e commit 0769fa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ func (l *Listener) publishLogEvent(ctx context.Context, log types.Log) {
select {
case ev.errCh <- err:
case <-ctx.Done():
default:
l.logger.Error("failed to send error to subscriber", "error", err, "event", ev.event.EventName())
}
}
}()
Expand Down

0 comments on commit 0769fa6

Please sign in to comment.